关闭debug
This commit is contained in:
parent
ec44c5c9ad
commit
63b7d2f7f7
1 changed files with 2 additions and 3 deletions
5
main.py
5
main.py
|
@ -66,9 +66,8 @@ class Api:
|
||||||
custom_event(line)
|
custom_event(line)
|
||||||
|
|
||||||
|
|
||||||
# window = webview.create_window("mower-ng launcher", "dist/index.html", js_api=Api())
|
window = webview.create_window("mower-ng launcher", "dist/index.html", js_api=Api())
|
||||||
window = webview.create_window("mower-ng launcher", "http://localhost:5173/", js_api=Api())
|
webview.start()
|
||||||
webview.start(debug=True)
|
|
||||||
|
|
||||||
with config_path.open("w") as f:
|
with config_path.open("w") as f:
|
||||||
json.dump(config, f)
|
json.dump(config, f)
|
||||||
|
|
Loading…
Reference in a new issue