mise icon indicating copy to clipboard operation
mise copied to clipboard

feat: add bin option support for archive extraction

Open matixlol opened this issue 2 months ago • 1 comments

  • Add support for 'bin' option in install_artifact function
  • When bin is specified, rename the extracted executable to the given name
  • Only rename if exactly one executable is found in the archive

fixes https://github.com/jdx/mise/discussions/6649

disclaimer: while I know Rust and understand this code, this was 100% LLM generated. I tested the actual problem I had (yt-dlp being named yt-dlp_macos) and it was fixed I haven't done much beyond that.

matixlol avatar Nov 08 '25 21:11 matixlol

needs docs and e2e test

jdx avatar Nov 09 '25 20:11 jdx

why set as draft?

matixlol avatar Nov 23 '25 17:11 matixlol

tests are failing

jdx avatar Nov 24 '25 02:11 jdx

@jdx fixed

matixlol avatar Nov 26 '25 14:11 matixlol