win build start file update

This commit is contained in:
DYefremov
2026-02-18 15:48:40 +03:00
parent c587f2bcdc
commit 0fc0ef1d3e

View File

@@ -4,17 +4,14 @@ import sys
if __name__ == "__main__":
if hasattr(sys, "_MEIPASS"):
import os
import pyi_splash
import ssl
from multiprocessing import freeze_support
os.environ["PYTHONUTF8"] = "1"
freeze_support()
# TODO There needs to be a more "correct" way.
ssl._create_default_https_context = ssl._create_unverified_context
freeze_support()
pyi_splash.close()
from app.ui.main import start_app
start_app()