Comparing version 3.0.2 to 3.1.0
@@ -40,2 +40,9 @@ /** | ||
/** | ||
* Resource strings. See [string table](https://docs.microsoft.com/en-us/windows/win32/menurc/stringtable-resource) | ||
* for details. | ||
*/ | ||
interface ResourceStrings { | ||
[n: number]: string | ||
} | ||
/** | ||
* EXE metadata that can be changed. | ||
@@ -66,2 +73,6 @@ */ | ||
'application-manifest'?: string | ||
/** | ||
* Set resource strings. | ||
*/ | ||
'resource-string'?: ResourceStrings | ||
} | ||
@@ -68,0 +79,0 @@ } |
const { canRunWindowsExeNatively, is64BitArch, spawnExe } = require('cross-spawn-windows-exe') | ||
const path = require('path') | ||
const pairSettings = ['version-string'] | ||
const pairSettings = ['version-string', 'resource-string'] | ||
const singleSettings = ['file-version', 'product-version', 'icon', 'requested-execution-level'] | ||
@@ -6,0 +6,0 @@ const noPrefixSettings = ['application-manifest'] |
{ | ||
"name": "rcedit", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "Node module to edit resources of exe", | ||
@@ -5,0 +5,0 @@ "main": "lib/rcedit.js", |
@@ -37,2 +37,4 @@ # node-rcedit | ||
for more details. | ||
* `resource-string` - An object in the form of `{ [id]: value }` to add to the | ||
[string table](https://docs.microsoft.com/en-us/windows/win32/menurc/stringtable-resource). | ||
@@ -39,0 +41,0 @@ Returns a `Promise` with no value. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2291065
112
47
144512