mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			61 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.4.2.7",
 | 
						|
    "description": "Enables anonymous communication over the onion network (expert mode).",
 | 
						|
    "homepage": "https://www.torproject.org",
 | 
						|
    "license": "BSD-3-Clause",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://dist.torproject.org/torbrowser/9.0.7/tor-win64-0.4.2.7.zip",
 | 
						|
            "hash": "46601c0a16349afaef6a92f88d42ea6acfd0fd824fd6b5b1d5377d115ecbc252"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://dist.torproject.org/torbrowser/9.0.7/tor-win32-0.4.2.7.zip",
 | 
						|
            "hash": "184882e2bdf0f7c11960cd8e12164d875a1fbe0622d39469fbbf6f30812211f2"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "bin": [
 | 
						|
        [
 | 
						|
            "Tor\\tor.exe",
 | 
						|
            "tor",
 | 
						|
            "-f \"$dir\\torrc\""
 | 
						|
        ],
 | 
						|
        "Tor\\tor-gencert.exe"
 | 
						|
    ],
 | 
						|
    "persist": [
 | 
						|
        "Data\\Data",
 | 
						|
        "torrc"
 | 
						|
    ],
 | 
						|
    "pre_install": [
 | 
						|
        "$current = current_dir $dir",
 | 
						|
        "$content = @(",
 | 
						|
        "    \"DataDirectory `\"$current\\Data\\Data`\"\"",
 | 
						|
        "    \"GeoIPFile `\"$current\\Data\\Tor\\geoip`\"\"",
 | 
						|
        "    \"GeoIPv6File `\"$current\\Data\\Tor\\geoip6`\"\"",
 | 
						|
        ")",
 | 
						|
        "if (!(Test-Path \"$persist_dir\\torrc\")) {",
 | 
						|
        "    Add-Content \"$dir\\torrc\" $content.Replace('\\', '/') -Encoding ASCII -Force",
 | 
						|
        "}"
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://www.torproject.org/download/tor/",
 | 
						|
        "regex": "torbrowser/(?<browser>[\\d.]+)/tor-win32-(?<version>[\\d.]+)\\.zip"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://dist.torproject.org/torbrowser/$matchBrowser/tor-win64-$version.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://dist.torproject.org/torbrowser/$matchBrowser/tor-win32-$version.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "$baseurl/sha256sums-signed-build.txt"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "notes": [
 | 
						|
        "NOTE: You will need to configure tor before using it, as it does not come pre-configured.",
 | 
						|
        "Please see https://www.torproject.org/docs/tor-manual.html.en for configuration details."
 | 
						|
    ]
 | 
						|
}
 |