Open DrewNaylor opened 3 years ago
Instead of this, I could just have a column with the source name, and pass that as a parameter to winget. That would help a lot when adding Store source support.
The Source
column could be hidden until support for loading the Store source is added, just like what winget itself does.
Maybe I'll delay this until a future version, since it's not that urgent right now.
This will help when packages like Windows Terminal say there are multiple options from multiple sources even when specifying a version number.
For now, it can just be a thing in theOptions
window underApply Changes
as an editable dropdown with sources and a checkbox that says to specify a default install source when passing it to winget. When adding this to theApply changes
window, it can just have a linklabel to go to the tab to change it.When passing this info to winget, something like this would work:
winget install --id "Microsoft.WindowsTerminal" -v 1.4.3243.0 -e -s "winget"
The
Source
column will need to be added to theApply changes
window in addition to the package list so it can be sent to winget.Be sure to add a note that says to make sure that the version you want to install is available in the source, or else it won't install. May be a good idea to have a thing that says,Default to winget community source
, alongside a dropdown (or maybe just dowinget (Default)
as an option in the dropdown).Most of this was crossed out because I realized it could be done by just automatically passing the source name when installing.