mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
GUI: move help menu to dedicated class
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ class OpenCoreLegacyPatcher:
|
||||
if launch_gui is True:
|
||||
utilities.disable_cls()
|
||||
from gui import gui_main
|
||||
gui_main.wx_python_gui(self.constants)
|
||||
gui_main.wx_python_gui(self.constants).main_menu(None)
|
||||
else:
|
||||
self.main_menu()
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@ class AutomaticSysPatch:
|
||||
if output.returncode == 0:
|
||||
print("- Launching GUI's Build/Install menu")
|
||||
settings.start_build_install = True
|
||||
gui_main.wx_python_gui(settings)
|
||||
gui_main.wx_python_gui(settings).main_menu(None)
|
||||
else:
|
||||
print("- Boot Disk is not removable, skipping prompt")
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user