{
    "version": "1.4.3.5",
    "description": "UltraVNC Server and Viewer can display the screen of one computer (Server) on the screen of another (Viewer).",
    "homepage": "https://uvnc.com",
    "license": "GPL-3.0-or-later",
    "url": "https://uvnc.com/component/jdownloads/send/0-/459-ultravnc-1-4-35-bin-zip.html?Itemid=0#/dl.zip",
    "hash": "8630c9193b3fa97d509cac3d2d202396275c2f44d67402d2b8ee7e47e6036411",
    "architecture": {
        "64bit": {
            "extract_dir": "x64"
        },
        "32bit": {
            "extract_dir": "x86"
        }
    },
    "bin": [
        "vncviewer.exe",
        "winvnc.exe"
    ],
    "shortcuts": [
        [
            "vncviewer.exe",
            "VNC Viewer"
        ],
        [
            "winvnc.exe",
            "WinVNC"
        ]
    ],
    "checkver": {
        "script": [
            "$uvnc_release_resp = Invoke-WebRequest -Uri 'https://uvnc.com/downloads/ultravnc.html'",
            "$uvnc_release_page = $uvnc_release_resp.Links | Where-Object href -match '/downloads/ultravnc/(\\d+)' | Select-Object -first 1 -expand href",
            "$uvnc_artifact_url = 'https://uvnc.com' + $uvnc_release_page",
            "$uvnc_artifact_resp = Invoke-WebRequest -Uri $uvnc_artifact_url",
            "$uvnc_artifact_summary_url = $uvnc_artifact_resp.Links | Where-Object href -match '/(\\d+)-ultravnc-(\\d+)-(\\d+)-(\\d)(\\d)-bin-zip.html' | Select-Object -first 1 -expand href",
            "$scriptver = $matches[2] + '.' + $matches[3] + '.' + $matches[4] + '.' + $matches[5]",
            "$artifact_version = $matches[2] + '-' + $matches[3] + '-' + $matches[4] + $matches[5]",
            "$filenum = $matches[1]",
            "$download_path = $filenum + '-ultravnc-' + $artifact_version + '-bin-zip.html?Itemid=0'",
            "Write-Output $scriptver $download_path"
        ],
        "regex": "(?<version>[\\d.]+)\\s(?<dlquerypath>.+)"
    },
    "autoupdate": {
        "url": "https://uvnc.com/component/jdownloads/send/0-/$matchDlquerypath#/dl.zip"
    }
}
