如何在不带酒的Linux中更改Windows exe文件的图标? [英] How to change windows exe file's icon in linux without wine?

查看:99
本文介绍了如何在不带酒的Linux中更改Windows exe文件的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以使用 ResHacker 从Windows更改资源,并且我可以使用 ResourceUpdate 函数来执行同样的问题(再次在Windows中).我的问题是我必须在不使用wine的情况下更新linux中Windows exe文件的图标.

I know I can use ResHacker to change a resource from windows and I know I can use ResourceUpdate function to do the same problematically (again in windows). My problem is that I have to update the icon of a windows exe file in linux, without using wine.

(不使用wine的原因是此过程应在更改文件并对其进行签名的自动化服务器上​​运行).

(the reason for not using wine is that this process should run on an automation server that change the files and sign them).

我什至不知道从哪里开始.

I don't know even where to start from.

推荐答案

有一个名为的程序满足您需求的风向标

抱歉,这只是资源编译器,

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

但是,有 pefile 一个用于处理PE可执行文件的python模块,也许您可​​以编写具有所需功能的脚本

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

这篇关于如何在不带酒的Linux中更改Windows exe文件的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆