mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 02:01:26 +00:00
51 lines
1.9 KiB
JSON
51 lines
1.9 KiB
JSON
{
|
|
"version": "4.38.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.38.3/v2ray-windows-64.zip",
|
|
"hash": "sha512:58e548592ba2714b6de6c6868e7883b0ee4b1c8c7a36f3773b8e53db53bf7ecf7139ec541916d16ad494b7c82892e9e2ea52375c0e4f3af79edfe1a920608f41"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/v2fly/v2ray-core/releases/download/v4.38.3/v2ray-windows-32.zip",
|
|
"hash": "sha512:105651f43ed0bdb27e373fb3eaa822babc01c031de4acaaead15a1c8f7fb39e5b3f40ccf7c55b323e01620f8138b35f3d05bac12f4ddc2226acb62ccf8b3fb71"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|