mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-20 10:44:32 +10:00
logging_handler: Resolve exception logging
This commit is contained in:
@@ -27,11 +27,9 @@ class OpenCoreLegacyPatcher:
|
||||
"""
|
||||
|
||||
def __init__(self) -> None:
|
||||
logging_handler.InitializeLoggingSupport()
|
||||
|
||||
self.constants: constants.Constants = constants.Constants()
|
||||
|
||||
self.constants.wxpython_variant: bool = True
|
||||
logging_handler.InitializeLoggingSupport(self.constants)
|
||||
|
||||
logging.info(f"- Loading OpenCore Legacy Patcher v{self.constants.patcher_version}...")
|
||||
|
||||
@@ -46,6 +44,8 @@ class OpenCoreLegacyPatcher:
|
||||
Generate base data required for the patcher to run
|
||||
"""
|
||||
|
||||
self.constants.wxpython_variant: bool = True
|
||||
|
||||
# Generate OS data
|
||||
os_data = os_probe.OSProbe()
|
||||
self.constants.detected_os = os_data.detect_kernel_major()
|
||||
|
||||
Reference in New Issue
Block a user