{
    "version": "19.0.1",
    "description": "Qt Creator CDB Debugger Support",
    "homepage": "https://doc.qt.io/qtcreator/index.html",
    "license": "GPL-3.0-only",
    "depends": "extras/qt-creator",
    "architecture": {
        "64bit": {
            "url": "https://download.qt.io/official_releases/qtcreator/19.0/19.0.1/installer_source/windows_x64/qtcreatorcdbext.7z",
            "hash": "md5:eed0376bab6c69a376eb2c55676c9ee0"
        },
        "arm64": {
            "url": "https://download.qt.io/official_releases/qtcreator/19.0/19.0.1/installer_source/windows_arm64/qtcreatorcdbext.7z",
            "hash": "md5:e216445ee299d9549ff34cc579434d39"
        }
    },
    "post_install": [
        "Remove-Item \"$(appdir qt-creator $global)\\current\\lib\\qtcreatorcdbext*\" -Force -Recurse",
        "(Get-Item $dir\\lib\\qtcreatorcdbext*).Name | foreach { New-Item \"$(appdir qt-creator $global)\\current\\lib\\$_\" -ItemType Junction -Target \"$dir\\lib\\$_\" -Force | Out-Null }"
    ],
    "checkver": {
        "url": "https://www.qt.io/offline-installers",
        "regex": "Qt Creator\\s+([\\d.]+)\\s+for Windows"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://download.qt.io/official_releases/qtcreator/$majorVersion.$minorVersion/$version/installer_source/windows_x64/qtcreatorcdbext.7z"
            },
            "arm64": {
                "url": "https://download.qt.io/official_releases/qtcreator/$majorVersion.$minorVersion/$version/installer_source/windows_arm64/qtcreatorcdbext.7z"
            }
        },
        "hash": {
            "url": "$baseurl/md5sums.txt"
        }
    }
}
