nw-builder 4.13.12 → 4.13.13

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 +1 -1
  2. package/src/bld.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nw-builder",
3
- "version": "4.13.12",
3
+ "version": "4.13.13",
4
4
  "description": "Build NW.js desktop applications for MacOS, Windows and Linux.",
5
5
  "keywords": [
6
6
  "NW.js",
package/src/bld.js CHANGED
@@ -362,7 +362,7 @@ const buildNativeAddon = ({ cacheDir, version, platform, arch, outDir, nodeVersi
362
362
  : 'nwjs.app/Contents/Resources/app.nw',
363
363
  );
364
364
 
365
- child_process.execSync(`node-gyp rebuild --target=${nodeVersion} --nodedir=${nodePath}`, { cwd });
365
+ child_process.execFileSync('node-gyp', ['rebuild', `--target=${nodeVersion}`, `--nodedir=${nodePath}`], { cwd });
366
366
  };
367
367
 
368
368
  const compress = async ({