关闭debug

This commit is contained in:
zhbaor 2024-09-23 19:49:34 +08:00
parent ec44c5c9ad
commit 63b7d2f7f7

View file

@ -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)