Fix updates and startup delays

This commit is contained in:
joel
2026-07-20 17:56:19 +02:00
parent 240779052f
commit 6f8074ff43
3 changed files with 67 additions and 28 deletions
+5 -1
View File
@@ -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