mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-28 19:44:24 +00:00
62 lines
2.3 KiB
JSON
62 lines
2.3 KiB
JSON
{
|
|
"version": "0.4.7.14-12.5.2",
|
|
"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/12.5.2/tor-expert-bundle-12.5.2-windows-x86_64.tar.gz",
|
|
"hash": "17294a3bd793b1d3116c1beabac4487c8bb8249c199bc20b8dc50bcaa3656ef1"
|
|
},
|
|
"32bit": {
|
|
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/12.5.2/tor-expert-bundle-12.5.2-windows-i686.tar.gz",
|
|
"hash": "c84b15f84beae17a3b299d5264e4783649f324c25c3fdad1411fbde23586499d"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"$current_dir = if (get_config NO_JUNCTIONS) { $dir } else { \"$(appdir $app $global)\\current\" }",
|
|
"$content = @(",
|
|
" \"DataDirectory `\"$current_dir\\data`\"\"",
|
|
" \"GeoIPFile `\"$current_dir\\data\\geoip`\"\"",
|
|
" \"GeoIPv6File `\"$current_dir\\data\\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",
|
|
"torrc"
|
|
],
|
|
"checkver": {
|
|
"url": "https://www.torproject.org/download/tor/",
|
|
"regex": "windows-i686.tar.gz\">(?<browser>[\\d.]+) \\(tor (?<tor>[\\d.]+)\\)",
|
|
"replace": "${tor}-${browser}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/$matchBrowser/tor-expert-bundle-$matchBrowser-windows-x86_64.tar.gz"
|
|
},
|
|
"32bit": {
|
|
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/$matchBrowser/tor-expert-bundle-$matchBrowser-windows-i686.tar.gz"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/sha256sums-signed-build.txt"
|
|
}
|
|
}
|
|
}
|