Repository navigation
Replies: 1 comment 2 replies
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am busy creating a little script, to always download the latest release from Github, using the Github API: https://api.github.com/repos/microsoft/winget-cli/releases/latest.
Somehow the API refers to the previous version: https://github.com/microsoft/winget-cli/releases/download/v1.0.11692/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle instead of https://github.com/microsoft/winget-cli/releases/download/v1.0.12576/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle.
Powershell:
Invoke-WebRequest -Uri (Invoke-WebRequest -Uri "https://api.github.com/repos/microsoft/winget-cli/releases/latest" | ConvertFrom-Json).Assets.browser_download_url[2] -OutFile ".\Downloads\wingetupdate.msixbundle"All reactions