Skip to content

Commit

Permalink
Change method
Browse files Browse the repository at this point in the history
  • Loading branch information
plooshi committed Dec 6, 2024
1 parent 6325cc8 commit a495fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RealRoot/kern_realroot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void PatchKernel(void *_user, KernelPatcher &patcher) {
}

void InitRealRoot() {
if (WIOKit::usingPrelinkedCache()) return; // disable in installer/update
if (!getKernelBase()) return; // disable in installer/update
lilu.onPatcherLoadForce(PatchKernel);
lilu.onKextLoadForce(&kextAPFS, 1, PatchAPFS);
lilu.onKextLoadForce(&kextSandbox, 1, PatchSandbox);
Expand Down

0 comments on commit a495fcd

Please sign in to comment.