repacker: adjust unpack command to fix compression issues
Change-Id: I027fd3bd86be858234daa82ef012254762949372
This commit is contained in:
committed by
Captain Throwback
parent
9dbd1fdf3c
commit
afb12eec15
+1
-1
@@ -91,7 +91,7 @@ std::string twrpRepacker::Unpack_Image(const std::string& Source_Path, const std
|
||||
if (TWFunc::copy_file(Source_Path, destination, 0644))
|
||||
return std::string();
|
||||
}
|
||||
std::string command = "cd " + Temp_Folder_Destination + " && /system/bin/magiskboot unpack -h ";
|
||||
std::string command = "cd " + Temp_Folder_Destination + " && /system/bin/magiskboot unpack -h -n ";
|
||||
command = command + "'" + Source_Path +"'";
|
||||
|
||||
std::string magisk_unpack_output;
|
||||
|
||||
Reference in New Issue
Block a user