2021-11-13 16:00:42 +00:00

58 lines
1.9 KiB
JSON

{
"version": "0.4.6.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://dist.torproject.org/torbrowser/11.0/tor-win64-0.4.6.8.zip",
"hash": "8603f86409d7400b536f3da29d21a233b668294521751b30a38108719fda3fe7"
},
"32bit": {
"url": "https://dist.torproject.org/torbrowser/11.0/tor-win32-0.4.6.8.zip",
"hash": "dfa04946951fdd093b3ef764923a7db92a7141fab8f75822ae9a87ed1334fb48"
}
},
"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",
"}"
],
"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-(?<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"
}
}
}
}