daraosn / node-zip

217 stars 38 forks source link

request for adding feature #24

Open loohoo opened 7 years ago

loohoo commented 7 years ago

I use node-zip to create zip file for my game hotfix patch . but I meet a problem that md5 change every time after zip file create by node-zip with same files.

as zip document mention

-X --no-extra Do not save extra file attributes (Extended Attributes on OS/2, uid/gid and file times on Unix). The zip format uses extra fields to include additional information for each entry. Some extra fields are specific to particular systems while others are applicable to all systems. Normally when zip reads entries from an existing archive, it reads the extra fields it knows, strips the rest, and adds the extra fields applica- ble to that system. With -X, zip strips all old fields and only includes the Unicode and Zip64 extra fields (currently these two extra fields cannot be disabled). does node-zip has the same option as '-X' ?

hmate9 commented 6 years ago

This would be great to have!