mirror of
https://github.com/wechat-article/wxdown-service.git
synced 2026-08-30 17:56:59 +08:00
修复打包命令,包含logo文件
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
# 运行 PyInstaller 打包
|
||||
- name: Build with PyInstaller
|
||||
run: |
|
||||
pyinstaller -y --clean -D -c -n wxdown-service --add-data=resources/credential.py:resources/ main.py
|
||||
pyinstaller -y --clean -D -c -n wxdown-service --add-data=resources/credential.py:resources --add-data=resources/logo.txt:resources main.py
|
||||
shell: bash
|
||||
|
||||
# 调试:列出 dist/ 目录内容
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
## 打包命令(pyinstaller)
|
||||
|
||||
```shell
|
||||
pyinstaller -y --clean -D -c -n wxdown-service --add-data=resources/credential.py:resources/ main.py
|
||||
pyinstaller -y --clean -D -c -n wxdown-service --add-data=resources/credential.py:resources --add-data=resources/logo.txt:resources main.py
|
||||
```
|
||||
|
||||
### 参数说明
|
||||
|
||||
Reference in New Issue
Block a user