diff --git a/resources/wx_gui/gui_support.py b/resources/wx_gui/gui_support.py index a8a88961b..343042c3e 100644 --- a/resources/wx_gui/gui_support.py +++ b/resources/wx_gui/gui_support.py @@ -106,6 +106,7 @@ class CheckProperties: def __init__(self, global_constants: constants.Constants) -> None: self.constants: constants.Constants = global_constants + def host_can_build(self): """ Check if host supports building OpenCore configs diff --git a/resources/wx_gui/gui_sys_patch_start.py b/resources/wx_gui/gui_sys_patch_start.py index 565d798a5..de8616324 100644 --- a/resources/wx_gui/gui_sys_patch_start.py +++ b/resources/wx_gui/gui_sys_patch_start.py @@ -104,6 +104,7 @@ class SysPatchStartFrame(wx.Frame): if kdk_download_obj.download_complete is False: return False + logging.info("KDK download complete, validating with hdiutil") header.SetLabel(f"Validating KDK: {self.kdk_obj.kdk_url_build}") header.Centre(wx.HORIZONTAL) @@ -219,8 +220,7 @@ class SysPatchStartFrame(wx.Frame): if self.patches["Settings: Kernel Debug Kit missing"] is True: if self._kdk_download(self) is False: - self.on_return_to_main_menu() - return + sys.exit(1) self._generate_modal(self.patches, "Root Patching") self.return_button.Disable()