2022-07-22 00:35:38 +00:00

38 lines
1.6 KiB
JSON

{
"version": "1.4.2011",
"description": "Windows Package Manager CLI (aka winget)",
"homepage": "https://github.com/microsoft/winget-cli",
"license": "MIT",
"notes": [
"At least Windows 10 build 17763 is required to use winget.",
"For documentation on settings, see: https://aka.ms/winget-settings."
],
"suggest": {
"vcredist": "extras/vcredist"
},
"url": "https://github.com/microsoft/winget-cli/releases/download/v1.4.2011-preview/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle#/dl.7z",
"hash": "60b6a078bd352b516a30298bab7f911d4902c65a81da0c7bd4a8735f197d2f9f",
"architecture": {
"64bit": {
"pre_install": "Get-ChildItem \"$dir\" -Exclude '*x64.msix' | Remove-Item -Force -Recurse"
},
"32bit": {
"pre_install": "Get-ChildItem \"$dir\" -Exclude '*x86.msix' | Remove-Item -Force -Recurse"
}
},
"installer": {
"script": "Get-ChildItem \"$dir\" '*.msix' | Select-Object -ExpandProperty Fullname | Expand-7zipArchive -DestinationPath \"$dir\" -Removal"
},
"bin": "winget.exe",
"checkver": {
"url": "https://github.com/microsoft/winget-cli/tags",
"regex": "/archive/refs/tags/v([\\d.]+)(?<pre>-preview)?\\.zip"
},
"autoupdate": {
"url": "https://github.com/microsoft/winget-cli/releases/download/v$version$matchPre/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle#/dl.7z",
"hash": {
"url": "https://github.com/microsoft/winget-cli/releases/download/v$version$matchPre/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.txt"
}
}
}