修复README的打包命令
This commit is contained in:
parent
f604e8ac99
commit
d687e0426a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue