-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I'm using Yazl 2.5.1 as the final step of a Node-based build process to package my application. We occasionally find that the files produced will not open in native Windows Explorer (usually Win10) with Windows complaining that 'the compressed (zipped) folder '***' is invalid'
I am, however, able to open the archive using 7zip (v16.02)
The snippet of code I'm using to zip is
var yazl = require("yazl");
var zipfile = new yazl.ZipFile();
zipfile.addFile(outputFilePath, setupFilename);
zipfile.outputStream.pipe(fs.createWriteStream(outputFilePath.replace(/\.exe$/,'.zip')));
where variables outputFilePath, setupFilename have been already defined.
fs is using fs-extra
Metadata
Metadata
Assignees
Labels
No labels