From 4b34b72cf4217c743d95a95009cea1a6f063b1b9 Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Mon, 23 Sep 2024 20:35:05 +0800 Subject: [PATCH] =?UTF-8?q?webview=E5=85=B3=E9=97=ADdebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5e879c6..7ed3c5e 100644 --- a/main.py +++ b/main.py @@ -69,7 +69,7 @@ class Api: window = webview.create_window("mower-ng launcher", "dist/index.html", js_api=Api()) -webview.start(debug=True) +webview.start() with config_path.open("w") as f: json.dump(config, f)