nw 0.94.1 → 0.95.0-sdk

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/cli.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nw",
3
- "version": "0.94.1",
3
+ "version": "0.95.0-sdk",
4
4
  "description": "An installer for NW.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,4 +54,4 @@
54
54
  "selenium-webdriver": "^4.27.0",
55
55
  "vitest": "^2.0.2"
56
56
  }
57
- }
57
+ }
package/src/cli.js CHANGED
@@ -18,6 +18,7 @@ async function cli() {
18
18
  .option('--platform <platform>', 'Host platform')
19
19
  .option('--arch <arch>', 'Host architecture')
20
20
  .option('--cacheDir <cacheDir>', 'File path to cache directory')
21
+ .allowExcessArguments(true)
21
22
  .allowUnknownOption() // this allows chromium and node options to be passed through to the nwjs binary
22
23
  .parse(process.argv);
23
24