Node module to edit resources of exe
Перейти к файлу
David Sanders 81e0c60cb3
chore: use Dependabot to update GitHub Actions deps (#115)
2024-03-12 17:54:16 -07:00
.circleci chore: bump electronjs/node to 2.1.0 (main) (#112) 2023-11-21 15:59:51 -08:00
.github chore: use Dependabot to update GitHub Actions deps (#115) 2024-03-12 17:54:16 -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 fix: update deps to clean up yarn audit (#98) 2023-08-24 14:08:46 -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 chore: bump continuousauth/npm to 2.1.0 (main) (#113) 2023-11-21 15:58:15 -08:00
tsconfig.eslint.json feat: add TypeScript definition (#69) 2020-12-01 18:57:18 -08:00
yarn.lock chore: bump continuousauth/npm to 2.1.0 (main) (#113) 2023-11-21 15:58:15 -08: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