mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 21:37:39 +00:00
Force shell usage in SuFile
This commit is contained in:
parent
630f2b7d19
commit
4668ef3020
@ -293,7 +293,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
|
||||
);
|
||||
} else {
|
||||
File boot = new File(install, "boot.img");
|
||||
SuFile patched_boot = new SuFile(install.getParent(), "new-boot.img");
|
||||
SuFile patched_boot = new SuFile(install.getParent() + "/new-boot.img", true);
|
||||
|
||||
if (!dumpBoot(boot) || !patchBoot(boot, patched_boot))
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user