bower / decompress-zip

Module that decompresses zip files
MIT License
102 stars 76 forks source link

Symlink issue on MacOS #67

Open ipetrovic11 opened 5 years ago

ipetrovic11 commented 5 years ago

On MacOS there is an issue with symlinks after extract. Paths are absolute and in case that some files are moved they become invalid.

Example is with packed Electron.app. After extracting all symlinks are absolute and if Electron.app is moved to another folder it becomes corrupted.

Solution would be to provide option to select between relative and absolute symlink paths. Node.js fs already has great utility for that path.relative.

Nashorn commented 3 years ago

Any solution?