From 75302a1ec2a0594e516c808e2509a27536861d7e Mon Sep 17 00:00:00 2001 From: Jazzzny Date: Wed, 16 Jul 2025 20:03:36 -0400 Subject: [PATCH] Add check for Solarium enablement --- opencore_legacy_patcher/wx_gui/gui_support.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/opencore_legacy_patcher/wx_gui/gui_support.py b/opencore_legacy_patcher/wx_gui/gui_support.py index 8082c49a9..f1fac85b5 100644 --- a/opencore_legacy_patcher/wx_gui/gui_support.py +++ b/opencore_legacy_patcher/wx_gui/gui_support.py @@ -169,6 +169,20 @@ class CheckProperties: return True + def host_is_solarium(self) -> bool: + """ + Check if running on macOS 26, and if Solarium refresh is enabled + """ + + if self.constants.detected_os < os_data.os_data.tahoe: + return False + + # If we are a release build, we are not Solarium for now + if self.constants.commit_info[0].startswith('refs/tags'): + return False + + return True + def host_has_cpu_gen(self, gen: int) -> bool: """