Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support multiple binaries #11

Open
patrick-5546 opened this issue May 25, 2024 · 1 comment
Open

Feature request: support multiple binaries #11

patrick-5546 opened this issue May 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@patrick-5546
Copy link

Currently grm only selects the first binary in a zip, but it would be nice if it would select all. Would this be possible?

For example, installing yazi only selects the ya binary and ignores yazi

$ grm install sxyazi/yazi
Found release v0.2.5
Inspecting assets...
Found 3 suitable assets
  1) yazi-x86_64-unknown-linux-gnu.snap
  2) yazi-x86_64-unknown-linux-gnu.zip
  3) yazi-x86_64-unknown-linux-musl.zip
Select suitable asset: [1-3] 2
Selected asset: yazi-x86_64-unknown-linux-gnu.zip
 100% |████████████████████████████████████████| (17.0 MB/s) [0s:0s]
Unpacking archive... yazi-x86_64-unknown-linux-gnu.zip
Looking for a binary file...
  yazi-x86_64-unknown-linux-gnu/LICENSE              text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/README.md            text/html; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/_ya      text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/_ya.ps1  text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/_yazi    text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/_yazi.ps1 text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/ya.bash  text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/ya.elv   text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/ya.fish  text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/ya.nu    text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/ya.ts    text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/yazi.bash text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/yazi.elv text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/yazi.fish text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/yazi.nu  text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/completions/yazi.ts  text/plain; charset=utf-8
  yazi-x86_64-unknown-linux-gnu/ya                   application/x-sharedlib
  yazi-x86_64-unknown-linux-gnu/yazi                 application/x-sharedlib
  yazi-x86_64-unknown-linux-gnu.zip                  application/zip
Installing yazi-x86_64-unknown-linux-gnu/ya to /home/patrick/.local/bin/ya...
done
@jsnjack
Copy link
Owner

jsnjack commented May 30, 2024

Hi @patrick-5546,

Nice feature! Thanks for linking the project with the real usecase.

@jsnjack jsnjack added the enhancement New feature or request label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants