mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
51 lines
1.9 KiB
JSON
51 lines
1.9 KiB
JSON
{
|
|
"version": "4.43.0",
|
|
"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.43.0/v2ray-windows-64.zip",
|
|
"hash": "sha512:414e9da6d3e0862219d785fd637494dfbb6ba357f1f8c0dfa1dc88fc09eba7733cc89a1e1e5ebf1fe6c404565505bf56c6ae2769f9553fe628e20f41934d231d"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/v2fly/v2ray-core/releases/download/v4.43.0/v2ray-windows-32.zip",
|
|
"hash": "sha512:b703efd3b97c69ded85b1600494d1765e37b5a8fd113e11f013e5d00e4f57c0a6b4736e3198f31161e7c788b36dbf6492cfda328eb1046bd15a3c9da3d12ede5"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|