mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
* tor: Fix url, Change version pattern * use redirected URL * apply suggestion on description Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> * Update tor.json * Update tor.json * revert 'change version pattern' Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
58 lines
2.0 KiB
JSON
58 lines
2.0 KiB
JSON
{
|
|
"version": "0.4.5.10",
|
|
"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/10.5.8/tor-win64-0.4.5.10.zip",
|
|
"hash": "3cbb20a2aed62d20bab6e7e69ab2ca2253d52001e75a01e5b34e6e437a461a46"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dist.torproject.org/torbrowser/10.5.8/tor-win32-0.4.5.10.zip",
|
|
"hash": "0bf64a03aa7807855fc4814f3685b72c7dc60a5715023362a869133b9ad74013"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|