Newer
Older
CVSS_3.0_GUI / node_modules / nwjs-builder-phoenix / node_modules / rcedit / README.md
root on 7 May 2019 1 KB Initial commit

node-rcedit Travis Build Status AppVeyor Build Status

Node module to edit resources of Windows executables.

Building

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

Docs

var rcedit = require('rcedit')

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

rcedit(exePath, options, callback)

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.

callback is the Function called when the command completes. The function signature is function (error).