修复README的打包命令

This commit is contained in:
li-xiaochen 2024-12-14 19:49:55 +08:00
parent f604e8ac99
commit d687e0426a

View file

@ -9,11 +9,11 @@
前端运行 `npm run build` 生成 `ui/dist`,之后安装 PyInstaller,运行 前端运行 `npm run build` 生成 `ui/dist`,之后安装 PyInstaller,运行
```bash ```bash
pyinstaller -w --add-data "ui/dist;ui/dist" --add-data "launcher/sys_config/config_dist.yaml" launcher.py pyinstaller -w --add-data "ui/dist:ui/dist" --add-data "launcher/sys_config/config_dist.yaml:launcher/sys_config" launcher.py
``` ```
在dist文件夹生成launcher文件夹,切到dist文件夹下运行 在dist文件夹生成launcher文件夹
```bash ```bash
tar -cf launcher.tar launcher tar -cf dist/launcher.tar dist/launcher
``` ```