{
    "version": "1.8.7",
    "description": "A platform for building proxies to bypass network restrictions",
    "homepage": "https://github.com/XTLS/Xray-core",
    "license": "MPL-2.0",
    "architecture": {
        "64bit": {
            "url": "https://github.com/XTLS/Xray-core/releases/download/v1.8.7/Xray-windows-64.zip",
            "hash": "563228103831b23992335c80c5545808d087a30b28dd6dad068c3a6b79b6b22b"
        },
        "32bit": {
            "url": "https://github.com/XTLS/Xray-core/releases/download/v1.8.7/Xray-windows-32.zip",
            "hash": "5fde54eef43e60401c34dc3b9ab4f95c3f32b1b568ec93f2a4f1f8842da5808d"
        }
    },
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\config.json\")) {",
        "    Set-Content \"$dir\\config.json\" '{}' -Encoding 'Ascii'",
        "}"
    ],
    "bin": "xray.exe",
    "persist": "config.json",
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/XTLS/Xray-core/releases/download/v$version/Xray-windows-64.zip"
            },
            "32bit": {
                "url": "https://github.com/XTLS/Xray-core/releases/download/v$version/Xray-windows-32.zip"
            }
        }
    }
}
