避免windows下注册表有问题时白屏
This commit is contained in:
parent
1bcc311a93
commit
3269bf0adf
1 changed files with 5 additions and 0 deletions
|
@ -1,9 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import json
|
||||
import mimetypes
|
||||
|
||||
import webview
|
||||
|
||||
mimetypes.add_type("text/html", ".html")
|
||||
mimetypes.add_type("text/css", ".css")
|
||||
mimetypes.add_type("application/javascript", ".js")
|
||||
|
||||
|
||||
class Api:
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue