mirror of
https://github.com/electron/rcedit
synced 2026-08-09 12:35:16 +00:00
d57294d8a2df7b595e046d98003ec510bf013cd7
rcedit
Command line tool to edit resources of exe file on Windows
Building
- Make sure you have gyp is configured in your system. If not, clone gyp from https://chromium.googlesource.com/external/gyp
- Clone the repository
- Run
gyp rcedit.gyp --depth . - Build rcedit.sln with Visual Studio
Docs
Set version string:
$ rcedit "path-to-exe-or-dll" --set-version-string "Comments" "This is an exe"
Set file version:
$ rcedit "path-to-exe-or-dll" --set-file-version "10.7"
Set product version:
$ rcedit "path-to-exe-or-dll" --set-product-version "10.7"
Set icon:
$ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico"
Set resource string:
$ rcedit "path-to-exe-or-dll" --set-resource-string id_number "new string value"
Set requestedExecutionLevel (asInvoker|highestAvailable|requireAdministrator) in the manifest:
$ rcedit "path-to-exe-or-dll" --set-requested-execution-level "requireAdministrator"
And you can change multiple things in one command:
$ rcedit "path-to-exe-or-dll" --set-icon "path-to-ico" --set-file-version "10.7"
Languages
C++
99.4%
CMake
0.6%