Skip to content

Commit

Permalink
Update KernelSUPatch.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
13584452567 committed Jul 23, 2024
1 parent 0cf6885 commit e0c5c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UotanToolbox/Common/PatchHelper/KernelSUPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public async static Task KernelSU_Patch(ZipInfo zipInfo, BootInfo bootInfo)
{
throw new Exception(GetTranslation("Basicflash_BootWong"));
}
File.Copy(Path.Combine(zipInfo.TempPath, "Image"), Path.Combine(bootInfo.TempPath, "kernel"));
File.Copy(Path.Combine(zipInfo.TempPath, "Image"), Path.Combine(bootInfo.TempPath, "kernel"),true);
CleanBoot(bootInfo.TempPath);
(string mb_output, int exitcode) = await CallExternalProgram.MagiskBoot($"repack \"{bootInfo.Path}\"", bootInfo.TempPath);
if (exitcode != 0)
Expand Down

0 comments on commit e0c5c21

Please sign in to comment.