Fix updates and startup delays
This commit is contained in:
@@ -23,7 +23,11 @@ def _load_app_info():
|
||||
try:
|
||||
# Finde config.json relativ zum Skript oder im PyInstaller Bundle
|
||||
if getattr(sys, "frozen", False):
|
||||
base_dir = Path(sys.executable).parent
|
||||
if platform.system() == "Darwin":
|
||||
# Path(sys.executable) ist fcco-Converter.app/Contents/MacOS/executable
|
||||
base_dir = Path(sys.executable).parent.parent.parent.parent
|
||||
else:
|
||||
base_dir = Path(sys.executable).parent
|
||||
else:
|
||||
base_dir = Path(__file__).parent.parent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user