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

后端 未结 4 1618
伪装坚强ぢ
伪装坚强ぢ 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:25

    The link to the Greenfish Iceon Editor Pro is broken. I scanned the net and found Download IcoFX Used the IcoFX program on my .exe file and could see that indeed it contained my icon.

    Using the menu Image->Create Windows Icons from Image, and then accepting the choices I got a new .ico file that worked on both win7 and win xp.

    Before that my single 48x48.ico file just didn't show up as an icon for the program.

提交回复
热议问题