2022-11-23 00:33:09 +00:00

59 lines
2.2 KiB
JSON

{
"version": "0.4.7.11-11.5.8",
"description": "Enables anonymous communication over the onion network (expert mode).",
"homepage": "https://www.torproject.org",
"license": "BSD-3-Clause",
"notes": [
"You will need to configure Tor before using, as it does not come pre-configured.",
"See https://tb-manual.torproject.org/ for details."
],
"architecture": {
"64bit": {
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/11.5.8/tor-win64-0.4.7.11.zip",
"hash": "f86b07027cc46f352eeae4666a5190a54ffc4e90ca2aa29e1c8231c2afe8ed34"
},
"32bit": {
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/11.5.8/tor-win32-0.4.7.11.zip",
"hash": "c9494749f02493bf3d53c849f9672fda5426f90b1c34d81237a0bc24c0c6993a"
}
},
"pre_install": [
"$current_dir = if (get_config NO_JUNCTIONS) { $dir } else { \"$(appdir $app $global)\\current\" }",
"$content = @(",
" \"DataDirectory `\"$current_dir\\Data\\Data`\"\"",
" \"GeoIPFile `\"$current_dir\\Data\\Tor\\geoip`\"\"",
" \"GeoIPv6File `\"$current_dir\\Data\\Tor\\geoip6`\"\"",
")",
"if (!(Test-Path \"$persist_dir\\torrc\")) {",
" Add-Content \"$dir\\torrc\" $content.Replace('\\', '/') -Encoding ASCII -Force",
"}"
],
"bin": [
[
"Tor\\tor.exe",
"tor",
"-f \"$dir\\torrc\""
],
"Tor\\tor-gencert.exe"
],
"persist": [
"Data\\Data",
"torrc"
],
"checkver": {
"url": "https://www.torproject.org/download/tor/",
"regex": "dist/torbrowser/(?<browser>[\\d.]+)/tor-win32-(?<tor>[\\d.]+)\\.zip",
"replace": "${tor}-${browser}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/$matchBrowser/tor-win64-$matchTor.zip"
},
"32bit": {
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/$matchBrowser/tor-win32-$matchTor.zip"
}
}
}
}