install.py: Resolve error handling in GUI

This commit is contained in:
Mykola Grymalyuk
2022-02-06 10:16:59 -07:00
parent e2aa6b4b48
commit 4d8aa1a541
2 changed files with 12 additions and 4 deletions
+1
View File
@@ -16,6 +16,7 @@ class OpenCoreLegacyPatcher:
self.generate_base_data()
if utilities.check_cli_args() is None:
if launch_gui is True:
utilities.disable_cls()
from gui import gui_main
gui_main.wx_python_gui(self.constants)
else: