mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "4.34.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.34.0/v2ray-windows-64.zip",
 | 
						|
            "hash": "sha512:c85c2b8beeaa5e37de4f0ca8dc984a4dabf3359c1042a73a716d14c823d70c05f5cca8aa7a34d7714e8521b8ee794819e03777ec0a0a20da07792d9d2356d10d"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://github.com/v2fly/v2ray-core/releases/download/v4.34.0/v2ray-windows-32.zip",
 | 
						|
            "hash": "sha512:26d0154482c595a6031fecb607ecd043bd98010d7ddb2bf09d2b84dfd9246d23a9e30fb81e16c3a7e9dbafe8abbb463d91e4e6ee440709d10485935a7fd7ed2b"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |