mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-16 13:41:21 +00:00
51 lines
1.9 KiB
JSON
51 lines
1.9 KiB
JSON
{
|
|
"version": "4.32.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.32.1/v2ray-windows-64.zip",
|
|
"hash": "sha512:af760fde129a735c7106f1780e80622c05a744965111bc14119aefee35613904494073361f01246e9f3ec24d78ac1a57214c2157f136ab346c0d28d43e302b5f"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/v2fly/v2ray-core/releases/download/v4.32.1/v2ray-windows-32.zip",
|
|
"hash": "sha512:e24701d6dde846f6cc3e559781d0ce516f8eead3cd9abdc7071997ef8078d15a83e53a74f1688aa4313101fc7c02de42cb90bd8ac1e5b14275f54766deb9ec31"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|