mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Work around MacBook8,1 bug
This commit is contained in:
@@ -188,6 +188,9 @@ class OpenCoreLegacyPatcher():
|
|||||||
self.constants.sip_status = False # Unsigned kexts
|
self.constants.sip_status = False # Unsigned kexts
|
||||||
self.constants.secure_status = False # Modified root volume
|
self.constants.secure_status = False # Modified root volume
|
||||||
#self.constants.disable_amfi = False # Signed bundles, Don't need to explicitly set currently
|
#self.constants.disable_amfi = False # 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"
|
||||||
|
|
||||||
def patch_vol(self):
|
def patch_vol(self):
|
||||||
SysPatch.PatchSysVolume(self.constants.custom_model or self.constants.computer.real_model, self.constants).start_patch()
|
SysPatch.PatchSysVolume(self.constants.custom_model or self.constants.computer.real_model, self.constants).start_patch()
|
||||||
|
|||||||
@@ -69,6 +69,9 @@ class OpenCoreLegacyPatcher:
|
|||||||
self.constants.sip_status = False # Unsigned kexts
|
self.constants.sip_status = False # Unsigned kexts
|
||||||
self.constants.secure_status = False # Modified root volume
|
self.constants.secure_status = False # Modified root volume
|
||||||
#self.constants.disable_amfi = False # Signed bundles, Don't need to explicitly set currently
|
#self.constants.disable_amfi = False # 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"
|
||||||
|
|
||||||
def build_opencore(self):
|
def build_opencore(self):
|
||||||
Build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore()
|
Build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore()
|
||||||
|
|||||||
Reference in New Issue
Block a user