ScoopInstaller_Main/bucket/heroku-cli.json
2025-02-07 00:35:25 +00:00

53 lines
2.3 KiB
JSON

{
"version": "10.1.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.1.0/f1a505c/heroku-v10.1.0-f1a505c-win32-x64.tar.xz#/dl.xz",
"hash": "db6fbb3b5eadb0d21568fb92a0821556abc34e7fecdbe4c0439932cd50fadb8a"
},
"32bit": {
"url": "https://cli-assets.heroku.com/versions/10.1.0/f1a505c/heroku-v10.1.0-f1a505c-win32-x86.tar.xz#/dl.xz",
"hash": "b85a3b00e61974eb851b437fb327ede96794abc22bf76f53ce19d5b72ce2da7e"
}
},
"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"
}
}
}
}
}