避免windows下注册表有问题时白屏

This commit is contained in:
zhbaor 2024-11-03 19:03:22 +08:00
parent 91ab92af3f
commit 9e6001d0e0

View file

@ -1,10 +1,15 @@
import json import json
import mimetypes
from pathlib import Path from pathlib import Path
from shutil import rmtree from shutil import rmtree
from subprocess import PIPE, STDOUT, Popen from subprocess import PIPE, STDOUT, Popen
import webview import webview
mimetypes.add_type("text/html", ".html")
mimetypes.add_type("text/css", ".css")
mimetypes.add_type("application/javascript", ".js")
version = "2024-10-10" version = "2024-10-10"
config = { config = {