{
    "version": "2023.3.23062",
    "description": "YouTrack, TeamCity, and Upsource Connector by JetBrains.",
    "homepage": "https://www.jetbrains.com/hub/",
    "license": {
        "identifier": "Freeware",
        "url": "https://www.jetbrains.com/legal/docs/hub/license"
    },
    "notes": "Hub can be started from anywhere using 'jetbrains-hub' command.",
    "url": "https://download.jetbrains.com/hub/hub-2023.3.23062.zip",
    "hash": "804f29a07fd21747251fb18354bb83f88feae2803d1df9153ad19920ee71ed5e",
    "extract_dir": "hub-2023.3.23062",
    "installer": {
        "script": [
            "$ver_path = \"$dir\\bin\"",
            "$cont = @(",
            "    \"Push-Location \"\"$ver_path\"\"\"",
            "    '& .\\hub.bat @args'",
            "    'Pop-Location'",
            ")",
            "Set-Content \"$dir\\jetbrains-hub.ps1\" $cont -Encoding Ascii"
        ]
    },
    "bin": "jetbrains-hub.ps1",
    "persist": [
        "backups",
        "conf",
        "data",
        "logs"
    ],
    "checkver": {
        "url": "https://data.services.jetbrains.com/products/releases?code=HB&latest=true&type=release",
        "regex": "version\":\"(?<ver>[\\d.]+)\".*\"build\":\"(?<build>[\\d.]+)\"",
        "replace": "${ver}.${build}"
    },
    "autoupdate": {
        "url": "https://download.jetbrains.com/hub/hub-$version.zip",
        "hash": {
            "url": "$url.sha256"
        },
        "extract_dir": "hub-$version"
    }
}
