node-modules / compressing

Everything you need for compressing and uncompressing
MIT License
431 stars 36 forks source link

.tar file can not be uncompressed by browser or uncompress software #21

Open Jayanzhou opened 5 years ago

Jayanzhou commented 5 years ago

some code is below:

blobList.forEach((blob, index) => { tarStream.addEntry(blob.data, { relativePath:${blob.name}_${index + 1}${blob.type}}); });

but when i download this .tar file, uncompress software cannot uncompress this file, because this sub files have the same file name, so the relativePath is not usefull when tarStream.addEntry. image

Jayanzhou commented 5 years ago

tks