mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 12:00:15 +10:00
Avoid patching on macOS 12
Can harmfully damage the OS if not properly validated first
This commit is contained in:
@@ -470,7 +470,7 @@ class PatchSysVolume:
|
|||||||
print("Root Patching not required for this machine!")
|
print("Root Patching not required for this machine!")
|
||||||
elif self.model not in ModelArray.SupportedSMBIOS11 and self.constants.assume_legacy is False:
|
elif self.model not in ModelArray.SupportedSMBIOS11 and self.constants.assume_legacy is False:
|
||||||
print("Cannot run on this machine, model is unsupported!")
|
print("Cannot run on this machine, model is unsupported!")
|
||||||
elif self.constants.detected_os < self.constants.big_sur:
|
elif self.constants.detected_os != self.constants.big_sur:
|
||||||
print("Cannot run on this OS, requires macOS 11!")
|
print("Cannot run on this OS, requires macOS 11!")
|
||||||
else:
|
else:
|
||||||
self.check_status()
|
self.check_status()
|
||||||
@@ -508,7 +508,7 @@ class PatchSysVolume:
|
|||||||
def start_unpatch(self):
|
def start_unpatch(self):
|
||||||
if self.constants.custom_model is not None:
|
if self.constants.custom_model is not None:
|
||||||
print("Unpatching must be done on target machine!")
|
print("Unpatching must be done on target machine!")
|
||||||
elif self.constants.detected_os < self.constants.big_sur:
|
elif self.constants.detected_os != self.constants.big_sur:
|
||||||
print("Cannot run on this OS, requires macOS 11!")
|
print("Cannot run on this OS, requires macOS 11!")
|
||||||
else:
|
else:
|
||||||
self.check_status()
|
self.check_status()
|
||||||
|
|||||||
@@ -1144,7 +1144,7 @@
|
|||||||
<key>SystemAudioVolume</key>
|
<key>SystemAudioVolume</key>
|
||||||
<data>Rg==</data>
|
<data>Rg==</data>
|
||||||
<key>boot-args</key>
|
<key>boot-args</key>
|
||||||
<string>keepsyms=1 debug=0x100 -no_compat_check</string>
|
<string>keepsyms=1 debug=0x100 -no_compat_check -lilubetaall</string>
|
||||||
<key>csr-active-config</key>
|
<key>csr-active-config</key>
|
||||||
<data>AAAAAA==</data>
|
<data>AAAAAA==</data>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
Reference in New Issue
Block a user