marwanhawari / stew

🥘 An independent package manager for compiled binaries.
MIT License
193 stars 14 forks source link

[Proposal] Extract binaries from archives #16

Closed anuvyklack closed 7 months ago

anuvyklack commented 2 years ago

It is common when, at release, a binary is packed with man file and some others into an archive. Like zoxide, btop and many others. It will be awesome if stew will be able to unpack such archives and allow choosing a binary to install.

marwanhawari commented 7 months ago

Stew is already able to do this! I can run stew install ajeetdsouza/zoxide and it will download the archive, extract the binary, and place it in the stewBinPath. If the binary isn't automatically detected, the user will be prompted to select it and potentially rename it.