打包命令记录
This commit is contained in:
parent
5840b70ca4
commit
afe5070165
1 changed files with 13 additions and 0 deletions
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# mower-ng 启动器
|
||||||
|
|
||||||
|
## 开发环境
|
||||||
|
|
||||||
|
目前只有 `pywebview` 一个依赖。
|
||||||
|
|
||||||
|
## 打包
|
||||||
|
|
||||||
|
前端运行 `npm run build` 生成 `ui/dist`,之后安装 PyInstaller,运行
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pyinstaller -w -F --add-data ui/dist:dist main.py
|
||||||
|
```
|
Loading…
Reference in a new issue