From 63b7d2f7f78632a2c9cba7c2895f7a1541f7d642 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Mon, 23 Sep 2024 19:49:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADdebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index fbbe7ad..8666894 100644 --- a/main.py +++ b/main.py @@ -66,9 +66,8 @@ class Api: custom_event(line) -# 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(debug=True) +window = webview.create_window("mower-ng launcher", "dist/index.html", js_api=Api()) +webview.start() with config_path.open("w") as f: json.dump(config, f)