2021-03-08 08:30:04 +01:00

51 lines
1.9 KiB
JSON

{
"version": "4.35.1",
"description": "A platform for building proxies to bypass network restrictions.",
"homepage": "https://www.v2fly.org/en_US/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/v2fly/v2ray-core/releases/download/v4.35.1/v2ray-windows-64.zip",
"hash": "sha512:29c6cccef65395e814bc3aae00bd870cd5bfc2f9213f33840858a9d08da6a7f3a7e2bfbeb35d9a044152f6de8905c7f11fe248351bcb4a3aec622d482b1864ec"
},
"32bit": {
"url": "https://github.com/v2fly/v2ray-core/releases/download/v4.35.1/v2ray-windows-32.zip",
"hash": "sha512:fe8e84e8c96f286e442a4f6e051709959c86a66e8e5dd554ee9688334d6152e89c22ee24e1785fbe5075c47d408a179d31b61dfed6ae0d0498c9cf4be91c085f"
}
},
"installer": {
"script": [
"Write-Host 'Verifying V2Ray binary...' -f Yellow",
"$sig = \"$dir\\Release\"",
"Invoke-WebRequest \"https://github.com/v2fly/v2ray-core/releases/download/v$version/Release\" -OutFile $sig",
"if (!(Invoke-Expression \"$dir\\v2ctl.exe verify --sig=$sig $dir\\v2ray.exe\" | Select-String 'OK')) {",
" Write-Host 'V2Ray binary is corrupted!' -f Red",
" exit 1",
"}"
]
},
"bin": [
"v2ctl.exe",
"v2ray.exe",
"wv2ray.exe"
],
"persist": "config.json",
"checkver": {
"github": "https://github.com/v2fly/v2ray-core"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/v2fly/v2ray-core/releases/download/v$version/v2ray-windows-64.zip"
},
"32bit": {
"url": "https://github.com/v2fly/v2ray-core/releases/download/v$version/v2ray-windows-32.zip"
}
},
"hash": {
"url": "$url.dgst",
"regex": "SHA512= $sha512"
}
}
}