From e3fa2e857f6ce81b7764515db13901f074dbbb9a Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sun, 16 Jul 2023 13:26:04 -0600 Subject: [PATCH] misc.py: Ensure spoofed models with SBM get access to VMM --- resources/build/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/build/misc.py b/resources/build/misc.py index 1118d11b3..4647daf44 100644 --- a/resources/build/misc.py +++ b/resources/build/misc.py @@ -122,7 +122,7 @@ class BuildMiscellaneous: # Alternative approach to the kern.hv_vmm_present patch # Dynamically sets the property to 1 if software update/installer is detected # Always enabled in installers/recovery environments - if self.constants.allow_oc_everywhere is False and self.constants.serial_settings == "None": + if self.constants.allow_oc_everywhere is False and (self.constants.serial_settings == "None" or self.constants.secure_status is False): re_patch_args.append("sbvmm") # Resolve CoreGraphics.framework crashing on Ivy Bridge in macOS 13.3+