ScoopInstaller_Main/bucket/heroku-cli.json
2025-03-20 20:28:42 +00:00

53 lines
2.3 KiB
JSON

{
"version": "10.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/10.4.0/467b8ab/heroku-v10.4.0-467b8ab-win32-x64.tar.xz#/dl.xz",
"hash": "779176e9142e942891059309853310b2bb4858a5619395367957e984317556d1"
},
"32bit": {
"url": "https://cli-assets.heroku.com/versions/10.4.0/467b8ab/heroku-v10.4.0-467b8ab-win32-x86.tar.xz#/dl.xz",
"hash": "d9c1eef5174a588b0ac666e910d695428ee254edb1442e1e98216004d95b201c"
}
},
"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"
}
}
}
}
}