Skip to content

Commit

Permalink
Update BootPatchHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
13584452567 committed Jul 18, 2024
1 parent db123d0 commit 3a99acd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UotanToolbox/Common/BootPatchHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ public static async Task<bool> ramdisk_detect()
Directory.CreateDirectory(workpath);
}
(string outputcpio, Global.cpio_exitcode) = await CallExternalProgram.MagiskBoot($"cpio \"{cpio_file}\" extract", workpath);
string init_info = await CallExternalProgram.File($"\"{CheckInitPath(ramdisk_path)}\"");
string initPath = await CheckInitPath(ramdisk_path);
string init_info = await CallExternalProgram.File($"\"{initPath}\"");
(BootInfo.userful, BootInfo.arch) = ArchDetect(init_info);
}
return true;
Expand Down

0 comments on commit 3a99acd

Please sign in to comment.