Node module to edit resources of exe
Перейти к файлу
dependabot[bot] f172846364
chore: bump dsanders11/project-actions from 1.3.0 to 1.4.0 (#131)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](eb760c4889...438b25e007)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 09:01:10 -04:00
.circleci chore: bump electronjs/node in .circleci/config.yml to 2.3.1 (#130) 2024-10-26 10:04:07 -04:00
.github chore: bump dsanders11/project-actions from 1.3.0 to 1.4.0 (#131) 2024-11-01 09:01:10 -04:00
bin
lib
script
test
.gitignore
.releaserc.json
CONTRIBUTING.md
LICENSE
README.md
SUPPORT.md
package.json
tsconfig.eslint.json
yarn.lock

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