ScoopInstaller_Main/bucket/heroku-cli.json
2024-11-11 20:27:20 +00:00

53 lines
2.2 KiB
JSON

{
"version": "9.4.0",
"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/9.4.0/cb2b939/heroku-v9.4.0-cb2b939-win32-x64.tar.xz#/dl.xz",
"hash": "eaa110a1c1625be45485041a8697d083ce0b0179c2c9230cd8a2abf3705b7246"
},
"32bit": {
"url": "https://cli-assets.heroku.com/versions/9.4.0/cb2b939/heroku-v9.4.0-cb2b939-win32-x86.tar.xz#/dl.xz",
"hash": "c6e382b206a4917f57db58f1860e97735b553d7e0277fd2d06b2442dfac8b94d"
}
},
"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"
}
}
}
}
}