{
    "version": "2023.3.23390",
    "description": "Web-based issue tracking and agile project management tool by JetBrains.",
    "homepage": "https://jetbrains.com/youtrack/",
    "license": {
        "identifier": "Proprietary",
        "url": "https://jetbrains.com/youtrack/buy/license.html"
    },
    "notes": "YouTrack can be started from anywhere using 'youtrack' command.",
    "url": "https://download.jetbrains.com/charisma/youtrack-2023.3.23390.zip",
    "hash": "7f0a35495daaa68b73d0a38dc1573c814caf347d9e21e079d0e566c745947855",
    "extract_dir": "youtrack-2023.3.23390",
    "installer": {
        "script": [
            "$ver_path = \"$dir\\bin\"",
            "$cont = @(",
            "    \"Push-Location \"\"$ver_path\"\"\"",
            "    '& .\\youtrack.bat @args'",
            "    'Pop-Location'",
            ")",
            "Set-Content \"$dir\\youtrack.ps1\" $cont -Encoding Ascii"
        ]
    },
    "bin": "youtrack.ps1",
    "persist": [
        "backup",
        "conf",
        "data",
        "logs"
    ],
    "checkver": {
        "url": "https://data.services.jetbrains.com/products/releases?code=YTD&platform=zip&latest=true&type=release",
        "regex": "version\":\"(?<ver>[\\d.]+)\".*\"build\":\"(?<build>[\\d]+)\"",
        "replace": "${ver}.${build}"
    },
    "autoupdate": {
        "url": "https://download.jetbrains.com/charisma/youtrack-$version.zip",
        "hash": {
            "url": "$url.sha256"
        },
        "extract_dir": "youtrack-$version"
    }
}
