{"name":"rcedit","version":"5.0.2","license":"MIT","_id":"rcedit@5.0.2","maintainers":[{"name":"electronhq","email":"marshallofsound+electronhqnpm@electronjs.org"},{"name":"electron-cfa","email":"info+cfa-npm@electronjs.org"}],"homepage":"https://github.com/electron/node-rcedit#readme","bugs":{"url":"https://github.com/electron/node-rcedit/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"7f6296c15aaf1d42934e2f9c6f55fe2f9ae5c465","tarball":"http://registry-npm.ywwl.com/rcedit/download/rcedit-5.0.2.tgz","fileCount":7,"integrity":"sha512-dgysxaeXZ4snLpPjn8aVtHvZDCx+aRcvZbaWBgl1poU6OPustMvOkj9a9ZqASQ6i5Y5szJ13LSvglEOwrmgUxA==","signatures":[{"sig":"MEQCIFghXWIlFpvtYJo1rxLbKannVDV285X9odBf5TgWy8MEAiB/p8k4SxnG9PbrxYPVbWob7eiLz34dMyYM/fGnjrJSag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rcedit@5.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2354714,"size":787220,"noattachment":false,"key":"/rcedit/-/rcedit-5.0.2.tgz"},"type":"module","types":"lib/index.d.ts","engines":{"node":">= 22.12.0"},"exports":"./lib/index.js","gitHead":"b2e932363feefc800946950ff32332a9de236680","scripts":{"tsd":"tsd","lint":"npm run lint:js && npm run lint:ts","test":"npm run lint && npm run tsd && npm run mocha","mocha":"mocha test/*.js","lint:js":"standard","lint:ts":"ts-standard","docs:build":"node script/build-docs.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4237b8c3-447e-4fef-98c5-3301a3f33933"}},"repository":{"url":"git+https://github.com/electron/node-rcedit.git","type":"git"},"_npmVersion":"11.6.2","description":"Node module to edit resources of exe","directories":{},"_nodeVersion":"24.10.0","dependencies":{"cross-spawn-windows-exe":"^1.1.0"},"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f","devDependencies":{"tsd":"^0.25.0","temp":"^0.9.4","mocha":"^10.8.2","typedoc":"^0.24.8","standard":"^17.1.0","typescript":"^5.9.3","ts-standard":"^12.0.2","@tsconfig/node22":"^22.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rcedit_5.0.2_1763989791796_0.001071163362883265","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"# node-rcedit\n\n[![Test](https://github.com/electron/node-rcedit/actions/workflows/test.yml/badge.svg)](https://github.com/electron/node-rcedit/actions/workflows/test.yml)\n[![NPM package](https://img.shields.io/npm/v/rcedit)](https://npm.im/rcedit)\n\nNode module to edit resources of Windows executables.\n\n## Requirements\n\nOn platforms other than Windows, you will need to have [Wine](https://winehq.org)\n1.6 or later installed and in the system path.\n\n> [!NOTE]\n> Under the hood, this package relies on the [electron/rcedit](https://github.com/electron/rcedit)\n> binary to perform operations. A vendored executable is in the `/bin/` folder of the source code.\n> The latest version of this package uses `rcedit@2.0.0`.\n\n## Usage\n\n```javascript\nimport { rcedit } from 'rcedit'\n```\n\n### `async rcedit(exePath, options)`\n\n`exePath` is the path to the Windows executable to be modified.\n\n`options` is an object that can contain following fields:\n\n* `version-string` - An object containing properties to change the `exePath`'s\n  version string.\n* `file-version` - File's version to change to.\n* `product-version` - Product's version to change to.\n* `icon` - Path to the icon file (`.ico`) to set as the `exePath`'s default icon.\n* `requested-execution-level` - Requested execution level to change to, must be\n  either `asInvoker`, `highestAvailable`, or `requireAdministrator`. See\n  [requestedExecutionLevel](https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/deployment/trustinfo-element-clickonce-application?view=vs-2015#requestedexecutionlevel) for\n  more details.\n* `application-manifest` - String path to a local manifest file to use.\n  See [Application manifest](https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests)\n  for more details.\n* `resource-string` - An object in the form of `{ [id]: value }` to add to the\n  [string table](https://docs.microsoft.com/en-us/windows/win32/menurc/stringtable-resource).\n\nReturns a `Promise` with no value.\n\n## Building\n\n* Clone the repository\n* Run `yarn install`\n* Run `yarn test` to run the tests\n","publish_time":1763989792046,"_cnpm_publish_time":1763989792046,"dist-tags":{"latest":"5.0.2"}}