Ny installer

This commit is contained in:
2026-04-22 12:59:13 +02:00
parent d28aafb2c6
commit c3453d8d55
5 changed files with 34 additions and 32 deletions

View File

@@ -8,7 +8,12 @@ Start:
import sys
import os
APP_VERSION = "0.8.3"
if getattr(sys, 'frozen', False):
# Kørende som PyInstaller .exe — sæt VLC sti til app-mappen
_app_dir = os.path.dirname(sys.executable)
os.environ.setdefault("VLC_PLUGIN_PATH", os.path.join(_app_dir, "plugins"))
APP_VERSION = "0.9.5"
sys.path.insert(0, os.path.dirname(__file__))