Skip to content

Commit

Permalink
fix(fs): preserve relative symlinks of NW.js files (#883)
Browse files Browse the repository at this point in the history
Co-authored-by: ecombs <[email protected]>
  • Loading branch information
rocketVibes and ecombs committed Jun 20, 2023
1 parent 295fa0d commit 48fc77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bld/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const build = async (
log.debug(`Remove any files at ${outDir} directory`);
await rm(outDir, { force: true, recursive: true });
log.debug(`Copy ${nwDir} files to ${outDir} directory`);
await cp(nwDir, outDir, { recursive: true });
await cp(nwDir, outDir, { recursive: true, verbatimSymlinks: true });

log.debug(`Copy files in srcDir to ${outDir} directory`);

Expand Down

0 comments on commit 48fc77e

Please sign in to comment.