Embedding icon in .exe with py2exe, visible in Vista?

后端 未结 4 1566
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 23:55

I\'ve been trying to embed an icon (.ico) into my \"compyled\" .exe with py2exe.

Py2Exe does have a way to embed an icon:

windows=[{
    \'script\':\'MyS         


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-31 00:28

    It seems that the order of icon sizes is the key, as said by Helmut. To invert the pages (larger ones first) solves the issue on Windows 7 for 'include_resources' (using Py2exe 0.6.9).

提交回复
热议问题