Cheng Zhao 088a4b4ec7 Merge pull request #63 from electron/create-if-no-exist
Fill default data when resource information is not there
2017-09-26 16:32:03 +09:00
2017-09-26 16:25:14 +09:00
2017-09-13 15:02:08 +09:00
2013-11-05 19:31:48 +08:00
2017-09-25 11:57:11 +09:00
2017-09-13 15:02:08 +09:00
2017-09-13 15:02:08 +09:00
2017-09-26 12:12:53 +09:00

rcedit Build status

Command line tool to edit resources of exe file on Windows.

Exectuables

Prebuilt binaries can be found in the artifacts of appveyor jobs.

Building

  1. Clone the repository
  2. Open rcedit.sln with Visual Studio 2015 or above
  3. Build

Generate solution files

If you have modified the gyp files, you should regenerate the solution files:

  1. Make sure you have gyp is configured in your system. If not, clone gyp from https://chromium.googlesource.com/external/gyp
  2. Run gyp rcedit.gyp --depth .

Docs

Show help:

$ rcedit -h

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 requested execution level (asInvoker | highestAvailable | requireAdministrator) in the manifest:

$ rcedit "path-to-exe-or-dll" --set-requested-execution-level "requireAdministrator"

Set application manifest:

$ rcedit "path-to-exe-or-dll" --application-manifest ./path/to/manifest/file

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"
S
Description
Automated archival mirror of github.com/electron/rcedit
Readme MIT
423 KiB
Languages
C++ 99.4%
CMake 0.6%