编译后更改图标 (Python)
Changing icon after compiling (Python)
我正在使用 Python 2.7 和 pyinstaller 来制作一个 exe。
一切正常,但 exe 文件的图标是 PyInstaller 图标。
有没有办法改变图标?
我发现了这个:http://www.dreamincode.net/forums/topic/192592-making-an-exe-file-with-pyinstaller/
但是不是很明白
是的,试试:
pyinstaller.exe --onefile --windowed --icon=app.ico app.py
在 this 指南中找到。如果需要,快速 Google 搜索将带您找到大量 .ico 文件。
我正在使用 Python 2.7 和 pyinstaller 来制作一个 exe。
一切正常,但 exe 文件的图标是 PyInstaller 图标。
有没有办法改变图标?
我发现了这个:http://www.dreamincode.net/forums/topic/192592-making-an-exe-file-with-pyinstaller/
但是不是很明白
是的,试试:
pyinstaller.exe --onefile --windowed --icon=app.ico app.py
在 this 指南中找到。如果需要,快速 Google 搜索将带您找到大量 .ico 文件。