Skip to content

Commit

Permalink
Avoid patching on macOS 12
Browse files Browse the repository at this point in the history
Can harmfully damage the OS if not properly validated first
  • Loading branch information
khronokernel committed Jun 2, 2021
1 parent dd798c0 commit dc6b14f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Resources/SysPatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def start_patch(self):
print("Root Patching not required for this machine!")
elif self.model not in ModelArray.SupportedSMBIOS11 and self.constants.assume_legacy is False:
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!")
else:
self.check_status()
Expand Down Expand Up @@ -508,7 +508,7 @@ def start_patch(self):
def start_unpatch(self):
if self.constants.custom_model is not None:
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!")
else:
self.check_status()
Expand Down
2 changes: 1 addition & 1 deletion payloads/Config/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@
<key>SystemAudioVolume</key>
<data>Rg==</data>
<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>
<data>AAAAAA==</data>
</dict>
Expand Down

0 comments on commit dc6b14f

Please sign in to comment.