mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-02-23 23:21:28 +01:00
win build start file update
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user