How to change windows exe file's icon in linux without wine?

徘徊边缘 提交于 2019-12-04 13:48:37

You can change a files metadata like this:

gvfs-set-attribute '/path/to/file' -t stringv metadata::custom-icon "/path/to/image.png"

There's a program called windres that should suit your needs

Whoops, that's just a resource compiler, sorry.

However there is pefile a python module for working with PE executables, perhaps you could write a script with it that does what you want

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!