From a495fcdcab88d86a303e719cf28be7c761782fb7 Mon Sep 17 00:00:00 2001 From: Ploosh Date: Thu, 5 Dec 2024 21:27:28 -0500 Subject: [PATCH] Change method --- RealRoot/kern_realroot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RealRoot/kern_realroot.cpp b/RealRoot/kern_realroot.cpp index 263fec9..ce6d87f 100644 --- a/RealRoot/kern_realroot.cpp +++ b/RealRoot/kern_realroot.cpp @@ -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);