Closed Dineshs91 closed 9 years ago
I am using the following code to unzip a zip file. http://dl.nwjs.io/v0.11.6/chromedriver-nw-v0.11.6-osx-x64.zip
chromeDriverLocal - path of the zip file.
fs.createReadStream(chromeDriverLocal) .pipe(unzip.Parse()) .on('entry', function (entry) { if (entry.path.indexOf('chromedriver') >= 0) { entry.pipe(fs.createWriteStream(chromeDriverFile)); } else { entry.autodrain(); } });
This code gives a file 'chromedriver' (15.6 MB) whose size differs, than the actual chromedriver size (17.2 MB).
unzip version: 0.1.11 (Latest) os: Mac os version 10.9.5
This is not an issue with unzip. So closing this issue.
I am using the following code to unzip a zip file. http://dl.nwjs.io/v0.11.6/chromedriver-nw-v0.11.6-osx-x64.zip
chromeDriverLocal - path of the zip file.
This code gives a file 'chromedriver' (15.6 MB) whose size differs, than the actual chromedriver size (17.2 MB).
unzip version: 0.1.11 (Latest) os: Mac os version 10.9.5