{
    "version": "11.3.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/11.3.0/1debe53/heroku-v11.3.0-1debe53-win32-x64.tar.xz#/dl.xz",
            "hash": "4ee6a96ab50ffac1b14fd154a28f99c0760a7666e59d9b00bcfb6c964527b811"
        },
        "32bit": {
            "url": "https://cli-assets.heroku.com/versions/11.3.0/1debe53/heroku-v11.3.0-1debe53-win32-x86.tar.xz#/dl.xz",
            "hash": "4e1eb3dc9c4fd371a0eb2fe3f7877de2b43025400ec03d5961b6300f29c6f334"
        }
    },
    "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"
                }
            }
        }
    }
}
