用于编辑 exe 资源的命令行工具
设置图标: bash $ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico" 设置资源字符串: bash $ rcedit "path-to-exe-or-dll" --set-resource-string id_number "new string value" 在清单中设置 请求的执行级别 ("asInvoker" | "highestAvailable" | "requireAdministrator"):bash $ rcedit "path-to-exe-or-dll" --set-requested-execution-level "requireAdministrator" 设置 应用程序清单:bash $ rcedit "path-to-exe-or-dll" --application-manifest ./path/to/manifest/file 您可以在一个命令中更改多个内容:bash $ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico" --set-file-version "10.7" 获取版本字符串: bash $ rcedit "path-to-exe-or-dll" --get-version-string "property" 使用与 --set-version-string 相同的属性。使用 "FileVersion" 获取 --set-file-version 的结果,使用 "ProductVersion" 获取 --get-product-version 的结果。
暂无开放 Issues,或尚未同步最近议题。