Skip to content

Commit 22b9853

Browse files
committed
Fix CLI model checking
Closes #168
1 parent 8c7e991 commit 22b9853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/SysPatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def start_patch(self):
334334
print("Root Patching must be done on target machine!")
335335
elif self.model in ModelArray.NoRootPatch11 and self.constants.assume_legacy is False:
336336
print("Root Patching not required for this machine!")
337-
elif self.model not in ModelArray.SupportedSMBIOS:
337+
elif self.model not in ModelArray.SupportedSMBIOS11:
338338
print("Cannot run on this machine, model is unsupported!")
339339
elif self.constants.detected_os < self.constants.big_sur:
340340
print(f"Cannot run on this OS, requires macOS 11!")

0 commit comments

Comments
 (0)