Commit 4668ef30 authored by topjohnwu's avatar topjohnwu

Force shell usage in SuFile

parent 630f2b7d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment