Skip to content

Commit

Permalink
为应用添加图标
Browse files Browse the repository at this point in the history
  • Loading branch information
AuYang261 committed Aug 14, 2024
1 parent d6560db commit 23886a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ pip install -r requirements_whisper.txt -i https://pypi.tuna.tsinghua.edu.cn/sim
# 若未安装pyinstaller,运行以下命令安装
pip install pyinstaller
# 打包
pyinstaller -F main.py
pyinstaller -F gui.py
pyinstaller -F webui_interface.py --add-data webui:webui --add-data templates:templates
pyinstaller -F gen_caption.py
pyinstaller -F main.py -i yhkt.ico
pyinstaller -F gui.py -i yhkt.ico
pyinstaller -F webui_interface.py --add-data webui:webui --add-data templates:templates -i yhkt.ico
pyinstaller -F gen_caption.py -i yhkt.ico
```
打包`gen_caption.py`时可能会失败,提示递归过深:

Expand Down
Binary file added yhkt.ico
Binary file not shown.

0 comments on commit 23886a7

Please sign in to comment.