marcosnils / bin

Effortless binary manager
MIT License
640 stars 44 forks source link

Powershell: Ignore .sha256 and .msi #189

Open korpa opened 4 months ago

korpa commented 4 months ago
bin install github.com/gerardog/gsudo

Install gsudo in powershell, does not ask, but installs the checksum file:

d:\home\binbin\gsudo.setup.msi.sha256   v2.4.4          github.com/gerardog/gsudo

I know about -a, but if we ignore .sha256 and .msi files, it would use the correct "portable" file

bin install github.com/gerardog/gsudo -a
   • Getting latest release for gerardog/gsudo

Multiple matches found, please select one:

 [1] gsudo.portable.zip
 [2] gsudo.portable.zip.sha256
 [3] gsudo.setup.arm64.msi
 [4] gsudo.setup.arm64.msi.sha256
 [5] gsudo.setup.x64.msi
 [6] gsudo.setup.x64.msi.sha256
 [7] gsudo.setup.x86.msi
 [8] gsudo.setup.x86.msi.sha256
 Select an option: