Skip to content

Commit dc6b14f

Browse files
committed
Avoid patching on macOS 12
Can harmfully damage the OS if not properly validated first
1 parent dd798c0 commit dc6b14f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Resources/SysPatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def start_patch(self):
470470
print("Root Patching not required for this machine!")
471471
elif self.model not in ModelArray.SupportedSMBIOS11 and self.constants.assume_legacy is False:
472472
print("Cannot run on this machine, model is unsupported!")
473-
elif self.constants.detected_os < self.constants.big_sur:
473+
elif self.constants.detected_os != self.constants.big_sur:
474474
print("Cannot run on this OS, requires macOS 11!")
475475
else:
476476
self.check_status()
@@ -508,7 +508,7 @@ def start_patch(self):
508508
def start_unpatch(self):
509509
if self.constants.custom_model is not None:
510510
print("Unpatching must be done on target machine!")
511-
elif self.constants.detected_os < self.constants.big_sur:
511+
elif self.constants.detected_os != self.constants.big_sur:
512512
print("Cannot run on this OS, requires macOS 11!")
513513
else:
514514
self.check_status()

payloads/Config/config.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@
11441144
<key>SystemAudioVolume</key>
11451145
<data>Rg==</data>
11461146
<key>boot-args</key>
1147-
<string>keepsyms=1 debug=0x100 -no_compat_check</string>
1147+
<string>keepsyms=1 debug=0x100 -no_compat_check -lilubetaall</string>
11481148
<key>csr-active-config</key>
11491149
<data>AAAAAA==</data>
11501150
</dict>

0 commit comments

Comments
 (0)