From faa0456ff7befdd9d48c53a0397e313a66add53d Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Sat, 20 Mar 2021 15:29:41 -0600 Subject: [PATCH] SysPatch.py: Fix model detection on patch --- Resources/SysPatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 56c1dcb38..09385135c 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -195,7 +195,7 @@ class PatchSysVolume: print("Root Patching must be done on target machine!") elif self.model in ModelArray.NoRootPatch11: 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!") elif self.constants.detected_os < 10.16: print(f"Cannot run on this OS: {self.constants.detected_os}")