No description
Find a file
2025-11-02 19:14:35 +08:00
launcher 发布:v0.8.0 版本发布 2025-11-02 19:14:35 +08:00
ui 功能修复:修复实例停止时状态显示异常问题 2025-09-21 20:43:38 +08:00
.gitignore 新增功能:配置文件自动备份与异常恢复 2025-09-14 19:32:26 +08:00
launcher.py ruff格式化代码 2025-01-25 17:49:17 +08:00
README.md 使用pip-tools管理python依赖 2024-12-15 23:23:13 +08:00
requirements.in 构建:requirements添加pyinstaller 2024-12-28 21:05:28 +08:00
requirements.txt 构建:requirements添加pyinstaller 2024-12-28 21:05:28 +08:00

mower-ng 启动器

开发环境

安装 pip-tools

pip install pip-tools

安装依赖

pip-sync requirements.txt

打包

前端运行 npm run build 生成 ui/dist,之后安装 PyInstaller,运行

pyinstaller -w --add-data "ui/dist:ui/dist" --add-data "launcher/sys_config/config_dist.json:launcher/sys_config" launcher.py

在dist文件夹生成launcher文件夹

cd dist
py7zr c launcher.7z launcher