Files
DemonEditor/build/win/start.py
2026-02-15 22:37:16 +03:00

21 lines
488 B
Python

#!/usr/bin/env python3
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"
# 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()