-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtor.json
61 lines (61 loc) · 2.4 KB
/
tor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"version": "0.4.8.14-14.0.7",
"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/14.0.7/tor-expert-bundle-windows-x86_64-14.0.7.tar.gz",
"hash": "5102cad9b0454ad61608eafff1008b14a8a06b1562c19b98e906d2a66f0983f2"
},
"32bit": {
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/14.0.7/tor-expert-bundle-windows-i686-14.0.7.tar.gz",
"hash": "95f1122063f108192172887e8ec4eaeb612ceb975b9256a85460cd1eff4e99f9"
}
},
"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-[\\d.]+.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-windows-x86_64-$matchBrowser.tar.gz"
},
"32bit": {
"url": "https://archive.torproject.org/tor-package-archive/torbrowser/$matchBrowser/tor-expert-bundle-windows-i686-$matchBrowser.tar.gz"
}
},
"hash": {
"url": "$baseurl/sha256sums-signed-build.txt"
}
}
}