Pyinstaller打包exe设置图标

 

main.spec

添加:

icon='txw_ico128x128.ico'
文件放在py文件的相同目录

 

posted @ 2023-12-29 11:20  txwtech  阅读(593)  评论(0)    收藏  举报