How to create ZIP files including the trailing descriptor signatures #540
-
As described in APPNOTE.TXT:
In other words, the local entry for such files looks like:
The AWS CloudFormation resource schema is (currently?) an example of such a file: https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You have to set the option |
Beta Was this translation helpful? Give feedback.
-
Gah. This totally does work, sorry for the confusion - I somehow managed to get an error earlier, but I can't figure out what I was doing wrong now. |
Beta Was this translation helpful? Give feedback.
-
(to be clear, I was meaning to read such files, but this is handy anyway!) |
Beta Was this translation helpful? Give feedback.
You have to set the option
dataDescriptorSignature
totrue
, see https://gildas-lormeau.github.io/zip.js/api/interfaces/ZipWriterConstructorOptions.html#dataDescriptorSignature.