aquaproj / aqua

Declarative CLI Version manager written in Go. Support Lazy Install, Registry, and continuous update with Renovate. CLI version is switched seamlessly
https://aquaproj.github.io
750 stars 32 forks source link

Support archiving 7 zip #2961

Open suzuki-shunsuke opened 1 week ago

suzuki-shunsuke commented 1 week ago

Feature Overview

Support archiving 7 zip .7z.

Why is the feature needed?

get the unarchiver or decompressor by the file extension:
get the unarchiver or decompressor by the file extension:
format unrecognized by filename: .7z

Workaround

There is no workaround. For now, we can't install tools archived by 7 zip.

Example Code

No response

Note

There is a third party library for 7 zip.

https://github.com/bodgit/sevenzip

suzuki-shunsuke commented 1 week ago

aqua uses mholt/archiver to unarchive files. Seems like mholt/archiver v4 supports 7 zip.

But we are using mholt/archiver v3 because v4 is still alpha.