2020-10-24 11:48:44 +02:00

51 lines
1.9 KiB
JSON

{
"version": "4.31.3",
"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.31.3/v2ray-windows-64.zip",
"hash": "sha512:e475ba070c813968911833dc21cd7433bdad2c584474588f5f438c34f42805dc9f53937ca83291df85545cd053c4b463619337fedafbbec33ae2a3eb3eb237cf"
},
"32bit": {
"url": "https://github.com/v2fly/v2ray-core/releases/download/v4.31.3/v2ray-windows-32.zip",
"hash": "sha512:7d00117cc93816e9365fb7f8318c56bc0c1677ee1b01defa09f0aa5249b8f3337c71fe3338a3b5a5a21ea131b0d765e7e950eeb0ba7b3089b6710753aef3ffb2"
}
},
"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"
}
}
}