Node module to edit resources of exe
Перейти к файлу
David Sanders f73dcb9765
build: fix repository.url in package.json (#127)
2024-09-07 10:43:21 -07:00
.circleci chore: bump electronjs/node in .circleci/config.yml to 2.3.0 (#124) 2024-06-12 10:57:24 -03:00
.github chore: bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#126) 2024-07-01 13:36:04 -07:00
bin feat: add support for x64 2019-11-03 11:01:11 +09:00
lib fix: Wrong executable path on WSL (#89) 2023-11-07 14:46:46 -08:00
script feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
test ci: fix syntax error (#116) 2024-03-12 19:48:00 -07:00
.gitignore feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
.releaserc.json chore: fixup .releasesrc.json (#110) 2023-08-23 15:19:15 -07:00
CONTRIBUTING.md docs: update README.md and CONTRIBUTING.md (#103) 2023-07-24 14:57:35 -07:00
LICENSE Initial implementation. 2013-11-06 18:34:29 +08:00
README.md chore: update trunk to "main" (#109) 2023-08-23 14:41:35 -07:00
SUPPORT.md feat: add support for x64 2019-11-03 11:01:11 +09:00
package.json build: fix repository.url in package.json (#127) 2024-09-07 10:43:21 -07:00
tsconfig.eslint.json feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
yarn.lock chore: bump braces from 3.0.2 to 3.0.3 (#125) 2024-06-19 21:53:05 -07:00

README.md

node-rcedit

CircleCI build status NPM package

Node module to edit resources of Windows executables.

Requirements

On platforms other than Windows, you will need to have Wine 1.6 or later installed and in the system path.

Usage

const rcedit = require('rcedit')

async rcedit(exePath, options)

exePath is the path to the Windows executable to be modified.

options is an object that can contain following fields:

  • version-string - An object containing properties to change the exePath's version string.
  • file-version - File's version to change to.
  • product-version - Product's version to change to.
  • icon - Path to the icon file (.ico) to set as the exePath's default icon.
  • requested-execution-level - Requested execution level to change to, must be either asInvoker, highestAvailable, or requireAdministrator. See here for more details.
  • application-manifest - String path to a local manifest file to use. See here for more details.
  • resource-string - An object in the form of { [id]: value } to add to the string table.

Returns a Promise with no value.

Building

  • Clone the repository
  • Run yarn install
  • Run yarn test to run the tests