构建:打包和开发时使用不同的配置文件
This commit is contained in:
parent
89c4121f61
commit
f604e8ac99
6 changed files with 64 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
|||
前端运行 `npm run build` 生成 `ui/dist`,之后安装 PyInstaller,运行
|
||||
|
||||
```bash
|
||||
pyinstaller -w --add-data ui/dist:ui/dist launcher.py
|
||||
pyinstaller -w --add-data "ui/dist;ui/dist" --add-data "launcher/sys_config/config_dist.yaml" launcher.py
|
||||
```
|
||||
|
||||
在dist文件夹生成launcher文件夹,切到dist文件夹下运行
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue