{
    "version": "26.03.04126",
    "description": "A full-featured mind mapping and brainstorming tool",
    "homepage": "https://xmind.app/",
    "license": {
        "identifier": "Shareware",
        "url": "https://xmind.app/terms/"
    },
    "architecture": {
        "64bit": {
            "url": "https://dl3.xmind.net/Xmind-for-Windows-x64bit-26.03.04126-202604280756.exe#/dl.7z",
            "hash": "0d13705441b3040cba14f2b8cddfdae1c78e0d2cba169f67d624de47df2d2fb8",
            "installer": {
                "script": "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\""
            }
        }
    },
    "post_install": "Remove-Item \"$dir\\`$*\", \"$dir\\Uninstall*\" -Recurse",
    "shortcuts": [
        [
            "XMind.exe",
            "XMind"
        ]
    ],
    "checkver": {
        "script": [
            "$url = 'https://www.xmind.app/zen/download/win64'",
            "$request = [System.Net.HttpWebRequest]::Create($url)",
            "$request.UserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36'",
            "$response = $request.GetResponse()",
            "Write-Output $response.ResponseUri.AbsoluteUri"
        ],
        "regex": "Xmind-for-Windows-x64bit-([\\d.]+)-(?<dt>\\d{12})\\.exe"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://dl3.xmind.net/Xmind-for-Windows-x64bit-$version-$matchDt.exe#/dl.7z"
            }
        }
    }
}
