[IMPROVEMENT] Allow to override the Winget package ID per package
Please confirm these before moving forward.
- [x] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
- [x] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
- [x] This improvement is not a bug. If you want to report a bug, please use this template.
Describe the improvement
We already have the installation options for packages which allows us to override certain switches or add entirely new flags to the update command, which is great !
However, we miss the ability to customize the ID of the package on winget.
To this day, certain packages fails to install by their ID and only require a part of it (ex winget install ffmpeg instead of winget install Gyan.FFmpeg, or winget install pnpm instead of winget install pnpm.pnpm).
This prevents us to update these packages.
Describe how this improvement could help users
We could finally upgrade packages like FFmpeg and PNPM directly through UniGetUI without errors
Huh, I reckon this is an issue that should be solved from WinGet's side, and not from UniGetUI...
That's very odd, as both of the provided examples work for me using the full ID and pnpm at least doesn't work with the shortened ID....
@mrixner the issue mostly happens on update of these packages and not really on install
should have specified it
Huh, I reckon this is an issue that should be solved from WinGet's side, and not from UniGetUI...
@marticliment indeed, but as you can see it is a known issue of winget since years and there seems like they won't fix it anytime soon :
- https://github.com/microsoft/winget-cli/issues/2686
- https://github.com/microsoft/winget-cli/issues/4751
this would allow us to have a workaround
update : we can bypass it with this config. update works fine with this enabled