repacker: add root overwrite warning
Change-Id: Ica03c62a04872cb0ff4705810a0e85efde0b0b54
This commit is contained in:
committed by
bigbiff
parent
d21252f1b5
commit
210ebe3d46
@@ -512,6 +512,7 @@
|
||||
<string name="unpacking_image">Unpacking {1}...</string>
|
||||
<string name="repacking_image">Repacking {1}...</string>
|
||||
<string name="repack_image_hdr">Select Image</string>
|
||||
<string name="repack_overwrite_warning">If device was previously rooted, then root has been overwritten and will need to be reinstalled.</string>
|
||||
<string name="reflash_twrp">Flash Current TWRP</string>
|
||||
<string name="reflash_twrp_confirm">Flash Current TWRP?</string>
|
||||
<string name="reflashing_twrp">Flashing TWRP...</string>
|
||||
|
||||
@@ -259,6 +259,7 @@ bool twrpRepacker::Repack_Image_And_Flash(const std::string& Target_Image, const
|
||||
TWFunc::removeDir(REPACK_ORIG_DIR, false);
|
||||
}}
|
||||
TWFunc::removeDir(REPACK_NEW_DIR, false);
|
||||
gui_msg(Msg(msg::kWarning, "repack_overwrite_warning=If device was previously rooted, then root has been overwritten and will need to be reinstalled."));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user