From 2904ca702c7b8923df4332594e4fe3a95ca2a023 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Sun, 21 Mar 2021 20:56:58 -0600 Subject: [PATCH] Fix 10.13 bug --- OpenCore-Patcher.command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCore-Patcher.command b/OpenCore-Patcher.command index 58bd56038..629144251 100755 --- a/OpenCore-Patcher.command +++ b/OpenCore-Patcher.command @@ -126,14 +126,14 @@ older OS snapshots under Time Machine System Restore. '', 'If you plan to create the USB for another machine, please select the "Change Model" option in the menu.' ] - elif not self.constants.custom_model and self.current_model in ("iMac7,1") and \ + elif not self.constants.custom_model and self.current_model == "iMac7,1" and \ "SSE4.1" not in subprocess.run("sysctl machdep.cpu.features".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode(): in_between = [ 'Your model requires a CPU upgrade to a CPU supporting SSE4.1+ to be supported by this patcher!', '', f'If you plan to create the USB for another {self.current_model} with SSE4.1+, please select the "Change Model" option in the menu.' ] - elif self.constants.custom_model in ("iMac7,1"): + elif self.constants.custom_model == "iMac7,1": in_between = ["This model is supported", "However please ensure the CPU has been upgraded to support SSE4.1+" ]