系统配置文件改为json类型,移除yaml的使用

This commit is contained in:
li-xiaochen 2024-12-15 21:57:17 +08:00
parent 987f1b6929
commit bcbd556e7d
7 changed files with 17 additions and 17 deletions

View file

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