mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 12:00:15 +10:00
SysPatch.py: Fix model detection on patch
This commit is contained in:
@@ -195,7 +195,7 @@ class PatchSysVolume:
|
|||||||
print("Root Patching must be done on target machine!")
|
print("Root Patching must be done on target machine!")
|
||||||
elif self.model in ModelArray.NoRootPatch11:
|
elif self.model in ModelArray.NoRootPatch11:
|
||||||
print("Root Patching not required for this machine!")
|
print("Root Patching not required for this machine!")
|
||||||
elif self.model in ModelArray.SupportedSMBIOS:
|
elif self.model not in ModelArray.SupportedSMBIOS:
|
||||||
print("Cannot run on this machine, model is unsupported!")
|
print("Cannot run on this machine, model is unsupported!")
|
||||||
elif self.constants.detected_os < 10.16:
|
elif self.constants.detected_os < 10.16:
|
||||||
print(f"Cannot run on this OS: {self.constants.detected_os}")
|
print(f"Cannot run on this OS: {self.constants.detected_os}")
|
||||||
|
|||||||
Reference in New Issue
Block a user