gildas-lormeau / zip.js

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
https://gildas-lormeau.github.io/zip.js
BSD 3-Clause "New" or "Revised" License
3.42k stars 512 forks source link

macos zip utility can't open the zips #274

Closed asturur closed 3 years ago

asturur commented 3 years ago

image

Same zip file can be opened with another zip utility ( i tried keka for example ).

I tried to change the compression level or the zip64 format, but nothing change. Is this a known issue?

gildas-lormeau commented 3 years ago

Can you try to set the option dataDescriptor to false?

asturur commented 3 years ago

sure let me try right now

asturur commented 3 years ago

seems to work. Does this diserve a readme or a changed default value?

gildas-lormeau commented 3 years ago

I prefer to let dataDescriptor to true because it allows to stream the zip file. Maybe moving this thread to the "Discussions" tab could suffice?

asturur commented 3 years ago

Yeas please make it a discussion. What does it mean that allow to stream the file?