Node module to edit resources of exe
Перейти к файлу
Samuel Attard ad43819354
chore: update deps
2021-07-30 01:44:17 -07:00
.circleci ci: use Node 14 for the release step (#73) 2020-12-14 09:06:31 -08:00
bin feat: add support for x64 2019-11-03 11:01:11 +09:00
lib fix: use the 64-bit rcedit exe for arm64 (#84) 2021-07-13 13:33:56 -07:00
script feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
test feat!: add support for WSL2 (#71) 2020-12-14 08:47:53 -08:00
.gitignore feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
.npmignore Remove grunt usage 2016-08-18 11:10:16 -07:00
.releaserc.json chore: add CFA support (#39) 2019-04-27 10:14:14 -07:00
CONTRIBUTING.md docs: update for 2.0 (#42) 2019-05-28 22:35:34 -07:00
LICENSE Initial implementation. 2013-11-06 18:34:29 +08:00
README.md feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
SUPPORT.md feat: add support for x64 2019-11-03 11:01:11 +09:00
package.json fix: use the 64-bit rcedit exe for arm64 (#84) 2021-07-13 13:33:56 -07:00
tsconfig.eslint.json feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
yarn.lock chore: update deps 2021-07-30 01:44:17 -07:00

README.md

node-rcedit

CircleCI build status

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.

Returns a Promise with no value.

Building

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