Skip to content
Permalink
Browse files

fix(logs): fix logging on windows

  • Loading branch information...
manavbp authored and joshuef committed Jun 28, 2019
1 parent 658e0e7 commit 9f794dec9c07fc2d6c82b47e7d2f27c401e4d429
Showing with 6 additions and 1 deletion.
  1. +6 −1 post-pack.js
@@ -84,6 +84,11 @@ if ( platform === WINDOWS ) {
CONTAINING_FOLDER,
'resources'
);
fs.moveSync(
path.resolve( PERUSE_RESOURCES_FOLDER, LOGS ),
path.resolve( CONTAINING_FOLDER, LOGS ),
{ overwrite: true }
);
fs.copySync(
path.resolve( PERUSE_RESOURCES_FOLDER, 'SAFE Browser.crust.config' ),
path.resolve( CONTAINING_FOLDER, 'SAFE Browser.crust.config' ),
@@ -112,7 +117,7 @@ const removalArray = [
'LICENSE'
];

removalArray.forEach( file => {
removalArray.forEach( ( file ) => {
fs.removeSync( `${CONTAINING_FOLDER}/${file}` );
} );

0 comments on commit 9f794de

Please sign in to comment.
You can’t perform that action at this time.