ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
20.32k stars 1.37k forks source link

[Feature] Make .shims portable vis-a-vis drive letter #6034

Open eugenesvk opened 4 days ago

eugenesvk commented 4 days ago

Feature Request

Is your feature request related to a problem? Please describe.

I'd like to launch scoop apps from a drive that might have a different drive letter depending on a system it's used in

Describe the solution you'd like

Make the app_name.shim record relative paths

Then I could launch this app_name.exe, it will refer the app_name.shim path as a relative to the drive where this exe is located, so any drive change name will be ignored

Describe alternatives you've considered

Manual rename of the paths, but that's tedious / doesn't survive udpates. Lnk files as far as I know don't support any relative paths

There is a similar issue, but think it only covers the .ps1 files, not the .shim files that the exe shims use https://github.com/ScoopInstaller/Scoop/issues/427