diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index f34df6575..67d72d730 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -422,10 +422,11 @@ set million colour before rebooting""" ) Utilities.process_status(self.elevated(["chmod", "755", f"{self.mount_lauchd}/IOHID-Fixup.plist"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) Utilities.process_status(self.elevated(["chown", "root:wheel", f"{self.mount_lauchd}/IOHID-Fixup.plist"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) - else: + elif Utilities.check_oclp_boot() is False: + # Assume non-OCLP Macs don't have _cs_require_lv print("- Disabling Library Validation") Utilities.process_status( - self.elevated(["defaults", "write", "/Library/Preferences/com.apple.security.libraryvalidation.plist", "-bool", "true"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + self.elevated(["defaults", "write", "/Library/Preferences/com.apple.security.libraryvalidation.plist", "DisableLibraryValidation", "-bool", "true"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) ) def gpu_accel_legacy_extended_ts2(self):