{
    "version": "1.4.2",
    "description": "A graphical Hyper-V management tool that allows mere mortals to easily master advanced Hyper-V features.",
    "homepage": "https://github.com/Justsenger/ExHyperV",
    "license": "GPL-3.0-only",
    "suggest": {
        ".NET Desktop Runtime 8.0": "versions/windowsdesktop-runtime-8.0"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/Justsenger/ExHyperV/releases/download/V1.4.2/ExHyperV_1.4.2_x64.zip",
            "hash": "7892ddf0ca4de114c3be427cacd4a5b15ff566126ae09f7fb389ba1c670cf11b"
        },
        "arm64": {
            "url": "https://github.com/Justsenger/ExHyperV/releases/download/V1.4.2/ExHyperV_1.4.2_arm64.zip",
            "hash": "4e6c49d7339f7a6346570d56a8d053e0be329f84651e3991b1334a9c2c73f176"
        }
    },
    "pre_install": [
        "if (-not (Test-Path -LiteralPath \"$persist_dir\\Config.xml\" -PathType Leaf)) {",
        "    Set-Content -Path \"$dir\\Config.xml\" -Value '<?xml version=\"1.0\" encoding=\"utf-8\"?><Config/>' -Encoding UTF8",
        "}"
    ],
    "shortcuts": [
        [
            "ExHyperV.exe",
            "ExHyperV"
        ]
    ],
    "persist": "Config.xml",
    "checkver": {
        "github": "https://api.github.com/repos/Justsenger/ExHyperV/releases",
        "jsonpath": "$[?(@.tag_name =~ /^v?[\\d.]+$/i)].tag_name",
        "regex": "(?i)(?<tag>v?(?<version>[\\d.]+))"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Justsenger/ExHyperV/releases/download/$matchTag/ExHyperV_$version_x64.zip"
            },
            "arm64": {
                "url": "https://github.com/Justsenger/ExHyperV/releases/download/$matchTag/ExHyperV_$version_arm64.zip"
            }
        }
    }
}
