避免windows下注册表有问题时白屏
This commit is contained in:
parent
91ab92af3f
commit
9e6001d0e0
1 changed files with 5 additions and 0 deletions
5
main.py
5
main.py
|
@ -1,10 +1,15 @@
|
|||
import json
|
||||
import mimetypes
|
||||
from pathlib import Path
|
||||
from shutil import rmtree
|
||||
from subprocess import PIPE, STDOUT, Popen
|
||||
|
||||
import webview
|
||||
|
||||
mimetypes.add_type("text/html", ".html")
|
||||
mimetypes.add_type("text/css", ".css")
|
||||
mimetypes.add_type("application/javascript", ".js")
|
||||
|
||||
version = "2024-10-10"
|
||||
|
||||
config = {
|
||||
|
|
Loading…
Reference in a new issue