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: