ad43819354 | ||
---|---|---|
.circleci | ||
bin | ||
lib | ||
script | ||
test | ||
.gitignore | ||
.npmignore | ||
.releaserc.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
SUPPORT.md | ||
package.json | ||
tsconfig.eslint.json | ||
yarn.lock |
README.md
node-rcedit
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 theexePath
'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 theexePath
's default icon.requested-execution-level
- Requested execution level to change to, must be eitherasInvoker
,highestAvailable
, orrequireAdministrator
. 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