node-modules / compressing

Everything you need for compressing and uncompressing
MIT License
436 stars 34 forks source link

tar包在window压缩时入口路劲分隔符错误导致linux无法正确解压出包内目录结构 #94

Closed wghule closed 4 months ago

wghule commented 1 year ago

tar包在window压缩时入口路劲在_addDirEntry处理 newOpts.relativePath 应该固定以linux的分隔符 / 来组织路径,以兼容window和linux的tar包解压

fengmk2 commented 1 year ago

@wghule 欢迎来贡献解决

fengmk2 commented 4 months ago

https://github.com/node-modules/compressing/pull/106