ScoopInstaller_Main/bucket/heroku-cli.json
2025-01-08 00:36:08 +00:00

53 lines
2.3 KiB
JSON

{
"version": "10.0.1",
"description": "An essential part of using Heroku, which can perform nearly any Heroku-related task right from your terminal.",
"homepage": "https://devcenter.heroku.com/articles/heroku-cli",
"license": "ISC",
"architecture": {
"64bit": {
"url": "https://cli-assets.heroku.com/versions/10.0.1/d25ac62/heroku-v10.0.1-d25ac62-win32-x64.tar.xz#/dl.xz",
"hash": "e354b8638a2e3616044570db9bb157803586c55c3251839b0e56620cb94ccb24"
},
"32bit": {
"url": "https://cli-assets.heroku.com/versions/10.0.1/d25ac62/heroku-v10.0.1-d25ac62-win32-x86.tar.xz#/dl.xz",
"hash": "6d2284ae96999d4e28a4b29edc9dc1d7440947d5459681344097f105b88e90e9"
}
},
"pre_install": [
"Invoke-ExternalCommand (Get-HelperPath '7zip') -ArgumentList @(",
" 'x'",
" \"$dir\\dl\"",
" \"-o$dir\\dlo\"",
" '-bso0'",
" '-bd'",
" '-bse0'",
") -ContinueExitCodes @{ 2 = 'Can not create symlink while running from un-elevated prompt. Installation is not affected.'} | Out-Null",
"Move-Item \"$dir\\dlo\\heroku\\*\" \"$dir\"",
"Remove-Item \"$dir\\dl*\" -Recurse"
],
"bin": "bin\\heroku.cmd",
"checkver": {
"url": "https://cli-assets.heroku.com/channels/stable/heroku-win32-x64-buildmanifest",
"jsonpath": "$.xz",
"regex": "heroku-v([\\d.]+)-(?<commit>\\w+)-win32"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cli-assets.heroku.com/versions/$version/$matchCommit/heroku-v$version-$matchCommit-win32-x64.tar.xz#/dl.xz",
"hash": {
"url": "https://cli-assets.heroku.com/channels/stable/heroku-win32-x64-buildmanifest",
"regex": "sha256xz.*$sha256"
}
},
"32bit": {
"url": "https://cli-assets.heroku.com/versions/$version/$matchCommit/heroku-v$version-$matchCommit-win32-x86.tar.xz#/dl.xz",
"hash": {
"url": "https://cli-assets.heroku.com/channels/stable/heroku-win32-x86-buildmanifest",
"regex": "sha256xz.*$sha256"
}
}
}
}
}