From 1b4ce1966fa4a1ec0bad09b82b70265fae0a196a Mon Sep 17 00:00:00 2001 From: li-xiaochen <397721316@qq.com> Date: Thu, 28 Nov 2024 22:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AA=97=E5=8F=A3=E5=90=8D=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E6=98=BE=E7=A4=BA=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9readme=E4=B8=AD=E7=9A=84=E6=89=93=E5=8C=85=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- launcher.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a330caa..a43125d 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ 前端运行 `npm run build` 生成 `ui/dist`,之后安装 PyInstaller,运行 ```bash -pyinstaller -w -F --add-data ui/dist:ui/dist main.py +pyinstaller -w -F --add-data ui/dist:ui/dist launcher.py ``` diff --git a/launcher.py b/launcher.py index 4220035..b09ed77 100644 --- a/launcher.py +++ b/launcher.py @@ -112,7 +112,7 @@ class Api: return "failed" -window = webview.create_window("mower-ng launcher", "ui/dist/index.html", js_api=Api()) +window = webview.create_window(f"mower-ng launcher {version}", "ui/dist/index.html", js_api=Api()) webview.start() with config_path.open("w") as f: