mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 13:50:00 +10:00
Fix defaults
This commit is contained in:
@@ -200,6 +200,10 @@ If you plan to create the USB for another machine, please select the "Change Mod
|
|||||||
if host_is_target:
|
if host_is_target:
|
||||||
if Utilities.check_metal_support(device_probe, self.computer) is False:
|
if Utilities.check_metal_support(device_probe, self.computer) is False:
|
||||||
self.constants.disable_cs_lv = True
|
self.constants.disable_cs_lv = True
|
||||||
|
if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler:
|
||||||
|
self.constants.sip_status = False
|
||||||
|
self.constants.amfi_status = True
|
||||||
|
self.constants.allow_fv_root = True # Allow FileVault on broken seal
|
||||||
elif model in ModelArray.LegacyGPU:
|
elif model in ModelArray.LegacyGPU:
|
||||||
self.constants.disable_cs_lv = True
|
self.constants.disable_cs_lv = True
|
||||||
if model in ModelArray.LegacyGPU:
|
if model in ModelArray.LegacyGPU:
|
||||||
|
|||||||
@@ -31,6 +31,10 @@ class OpenCoreLegacyPatcher:
|
|||||||
if host_is_target:
|
if host_is_target:
|
||||||
if Utilities.check_metal_support(device_probe, self.computer) is False:
|
if Utilities.check_metal_support(device_probe, self.computer) is False:
|
||||||
self.constants.disable_cs_lv = True
|
self.constants.disable_cs_lv = True
|
||||||
|
if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler:
|
||||||
|
self.constants.sip_status = False
|
||||||
|
self.constants.amfi_status = True
|
||||||
|
self.constants.allow_fv_root = True # Allow FileVault on broken seal
|
||||||
elif model in ModelArray.LegacyGPU:
|
elif model in ModelArray.LegacyGPU:
|
||||||
self.constants.disable_cs_lv = True
|
self.constants.disable_cs_lv = True
|
||||||
|
|
||||||
@@ -40,7 +44,6 @@ class OpenCoreLegacyPatcher:
|
|||||||
if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler:
|
if self.computer.dgpu and self.computer.dgpu.arch == device_probe.NVIDIA.Archs.Kepler:
|
||||||
self.constants.sip_status = False
|
self.constants.sip_status = False
|
||||||
# self.constants.secure_status = True # Monterey
|
# self.constants.secure_status = True # Monterey
|
||||||
self.constants.amfi_status = True
|
|
||||||
self.constants.allow_fv_root = True # Allow FileVault on broken seal
|
self.constants.allow_fv_root = True # Allow FileVault on broken seal
|
||||||
else:
|
else:
|
||||||
self.constants.sip_status = True
|
self.constants.sip_status = True
|
||||||
@@ -56,6 +59,8 @@ class OpenCoreLegacyPatcher:
|
|||||||
self.constants.secure_status = False # Modified root volume
|
self.constants.secure_status = False # Modified root volume
|
||||||
self.constants.allow_fv_root = True # Allow FileVault on broken seal
|
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
|
# self.constants.amfi_status = True # Signed bundles, Don't need to explicitly set currently
|
||||||
|
|
||||||
|
|
||||||
if model == "MacBook8,1":
|
if model == "MacBook8,1":
|
||||||
# MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing
|
# MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing
|
||||||
self.constants.serial_settings = "Moderate"
|
self.constants.serial_settings = "Moderate"
|
||||||
|
|||||||
Reference in New Issue
Block a user