mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
main.py: move threading
This commit is contained in:
+1
-2
@@ -90,6 +90,7 @@ class OpenCoreLegacyPatcher:
|
|||||||
|
|
||||||
# Generate defaults
|
# Generate defaults
|
||||||
defaults.GenerateDefaults(self.computer.real_model, True, self.constants)
|
defaults.GenerateDefaults(self.computer.real_model, True, self.constants)
|
||||||
|
threading.Thread(target=analytics_handler.Analytics, args=(self.constants,)).start()
|
||||||
|
|
||||||
if utilities.check_cli_args() is None:
|
if utilities.check_cli_args() is None:
|
||||||
logging.info(f"- No arguments present, loading {'GUI' if self.constants.wxpython_variant is True else 'TUI'} mode")
|
logging.info(f"- No arguments present, loading {'GUI' if self.constants.wxpython_variant is True else 'TUI'} mode")
|
||||||
@@ -111,6 +112,4 @@ class OpenCoreLegacyPatcher:
|
|||||||
while self.constants.unpack_thread.is_alive():
|
while self.constants.unpack_thread.is_alive():
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
threading.Thread(target=analytics_handler.Analytics, args=(self.constants,)).start()
|
|
||||||
|
|
||||||
arguments.arguments(self.constants)
|
arguments.arguments(self.constants)
|
||||||
|
|||||||
Reference in New Issue
Block a user