Clean up code

This commit is contained in:
Mykola Grymalyuk
2021-09-12 11:31:31 -06:00
parent ab4089c37b
commit 76aa3bb80f
4 changed files with 14 additions and 10 deletions

View File

@@ -53,11 +53,12 @@ class OpenCoreLegacyPatcher:
# Some models have a supported dGPU, others don't
self.constants.sip_status = True
# self.constants.secure_status = True # Monterey
# self.constants.amfi_status = True # Signed bundles, Don't need to explicitly set currently
# self.constants.amfi_status = True # Signed bundles, Don't need to explicitly set currently
else:
self.constants.sip_status = False # Unsigned kexts
self.constants.sip_status = False # Unsigned kexts
self.constants.secure_status = False # Modified root volume
# self.constants.amfi_status = True # Signed bundles, Don't need to explicitly set currently
self.constants.allow_fv_root = True # Allow FileVault on broken seal
# self.constants.amfi_status = True # Signed bundles, Don't need to explicitly set currently
if model == "MacBook8,1":
# MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing
self.constants.serial_settings = "Moderate"