Closed nijinekoyo closed 3 months ago
See ZipWriter close, the optional first argument is the comment for the EOCD: https://github.com/gildas-lormeau/zip.js/blob/7021dd3a036853fabd3dc733a30b7b823e87d5d4/lib/core/zip-writer.js#L201-L203 https://github.com/gildas-lormeau/zip.js/blob/7021dd3a036853fabd3dc733a30b7b823e87d5d4/lib/core/zip-writer.js#L163
See ZipWriter close, the optional first argument is the comment for the EOCD:
That's it, thanks
I did not find the
comment
configuration in theZipWriterConstructorOptions
type. Currently I can only set thecomment
of each file inzipWriter.add()
. I hope to set a single zip innew ZipWriter()
comment
of the file