Replies: 1 comment
-
You should be able to do this using the COM API. Marti Climent has put together some examples and integrated with the COM APIs for his UniGetUI tool |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of the new feature / enhancement
Hello
I have an app which primary distribution channel is going to be the official winget-pkgs source. Its very nice. But I would love to be able for our application to be able to query if updates are available, to inform the user that they should run "winget upgrade zyx".
Ive seen that the powershell commands are able to output json and as such has a somewhat more programmatic interface - but these are not shipped with windows, as the winget-cli is.
Sorry if this functionality is already available to me and I'm just missing it :)
Proposed technical implementation details
Could be as simple as
winget show --versions --exact xyz.tool --json
Beta Was this translation helpful? Give feedback.
All reactions