From 22b98534522309a10708701261b94d884b78af71 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Mon, 26 Apr 2021 09:11:14 -0600 Subject: [PATCH] Fix CLI model checking Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/168 --- Resources/SysPatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 2b9199e6d..b71954832 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -334,7 +334,7 @@ class PatchSysVolume: print("Root Patching must be done on target machine!") elif self.model in ModelArray.NoRootPatch11 and self.constants.assume_legacy is False: print("Root Patching not required for this machine!") - elif self.model not in ModelArray.SupportedSMBIOS: + elif self.model not in ModelArray.SupportedSMBIOS11: print("Cannot run on this machine, model is unsupported!") elif self.constants.detected_os < self.constants.big_sur: print(f"Cannot run on this OS, requires macOS 11!")