node-rcedit

by electron

electron /node-rcedit

Node module to edit resources of exe

132 Stars 33 Forks Last release: 4 months ago (v2.2.0) MIT License 125 Commits 17 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

node-rcedit

CircleCI build status

Node module to edit resources of Windows executables.

Docs

const rcedit = require('rcedit')

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

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.