winget: Update to stable version (#3946)

* winget: Update to version 1.3.2091 (Stable)

- Update Url to Stable Release
- use checkver: "github"

* Update bucket/winget.json

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
Oussama Delassi 2022-09-21 07:11:16 +01:00 committed by GitHub
parent 257132f927
commit a89c5a44c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ {
"version": "1.4.2161", "version": "1.3.2091",
"description": "Windows Package Manager CLI (aka winget)", "description": "Windows Package Manager CLI (aka winget)",
"homepage": "https://github.com/microsoft/winget-cli", "homepage": "https://github.com/microsoft/winget-cli",
"license": "MIT", "license": "MIT",
@ -10,8 +10,8 @@
"suggest": { "suggest": {
"vcredist": "extras/vcredist" "vcredist": "extras/vcredist"
}, },
"url": "https://github.com/microsoft/winget-cli/releases/download/v1.4.2161-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle#/dl.7z", "url": "https://github.com/microsoft/winget-cli/releases/download/v1.3.2091/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle#/dl.7z",
"hash": "eabae888c0664be2c8ffb06d9dc9a53b679232232a48a85490329b3536179753", "hash": "42dc2811c98e5dc831a314394e1e4d1571580bb4ffbe645534efb8a3577c154d",
"architecture": { "architecture": {
"64bit": { "64bit": {
"pre_install": "Get-ChildItem \"$dir\" -Exclude '*x64.msix' | Remove-Item -Force -Recurse" "pre_install": "Get-ChildItem \"$dir\" -Exclude '*x64.msix' | Remove-Item -Force -Recurse"
@ -24,14 +24,11 @@
"script": "Get-ChildItem \"$dir\" '*.msix' | Select-Object -ExpandProperty Fullname | Expand-7zipArchive -DestinationPath \"$dir\" -Removal" "script": "Get-ChildItem \"$dir\" '*.msix' | Select-Object -ExpandProperty Fullname | Expand-7zipArchive -DestinationPath \"$dir\" -Removal"
}, },
"bin": "winget.exe", "bin": "winget.exe",
"checkver": { "checkver": "github",
"url": "https://github.com/microsoft/winget-cli/tags",
"regex": "/archive/refs/tags/v([\\d.]+)(?<pre>-preview)?\\.zip"
},
"autoupdate": { "autoupdate": {
"url": "https://github.com/microsoft/winget-cli/releases/download/v$version$matchPre/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle#/dl.7z", "url": "https://github.com/microsoft/winget-cli/releases/download/v$version/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle#/dl.7z",
"hash": { "hash": {
"url": "https://github.com/microsoft/winget-cli/releases/download/v$version$matchPre/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.txt" "url": "https://github.com/microsoft/winget-cli/releases/download/v$version/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.txt"
} }
} }
} }