Skip to content

Commit

Permalink
build: 构建可执行文件增加图标
Browse files Browse the repository at this point in the history
  • Loading branch information
lerdb committed Feb 14, 2024
1 parent f5f35bd commit d4b5c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def build_test(fileName):
'-m',
'PyInstaller',
'-F',
'-i',
'icon.ico',
'--name',
fileName if fileName else f'lx-music-api-server_{sha}',
'main.py'])
Expand Down Expand Up @@ -137,6 +139,8 @@ def build_release(fileName = ''):
'-m',
'PyInstaller',
'-F',
'-i',
'icon.ico',
'--name',
fileName if fileName else f'lx-music-api-server_{vername}',
'main.py'])
Expand Down
Binary file added icon.ico
Binary file not shown.

0 comments on commit d4b5c06

Please sign in to comment.