build: 构建可执行文件增加图标

This commit is contained in:
lerdb 2024-02-14 11:25:41 +08:00
parent f5f35bd8e0
commit d4b5c06592
No known key found for this signature in database
GPG Key ID: FBBF3738C577282C
2 changed files with 4 additions and 0 deletions

View File

@ -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'])
@ -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'])

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB