nw-builder 4.13.5 → 4.13.6

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 +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nw-builder",
3
- "version": "4.13.5",
3
+ "version": "4.13.6",
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
@@ -147,7 +147,7 @@ async function bld({
147
147
  if (stats.isDirectory()) {
148
148
  continue;
149
149
  }
150
- await fs.promises.copyFile(
150
+ await fs.promises.cp(
151
151
  file,
152
152
  path.resolve(
153
153
  outDir,
@@ -156,6 +156,7 @@ async function bld({
156
156
  : 'nwjs.app/Contents/Resources/app.nw',
157
157
  file,
158
158
  ),
159
+ { recursive: true, force: true },
159
160
  );
160
161
  }
161
162
  } else {