delete binary tor, include powershell script to fetch tor, change cwtch/ffi Tor binary location
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
7969d7e6b1
commit
7d72e65445
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
Invoke-WebRequest -Uri https://www.torproject.org/dist/torbrowser/10.0.16/tor-win32-0.4.5.7.zip -OutFile tor.zip
|
||||||
|
|
||||||
|
if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne '2b7d683f036d0fec149f1d2bdfcf5b7ef4c337005a2b685c056b00047fdb2b57d4c25b8559ad7ef5c7a030b273934be82a9f83ef6e391f5d7d13d8d6c83e8048' ) { Write-Error 'tor.zip sha512sum mismatch' }
|
||||||
|
|
||||||
|
Expand-Archive -Path tor.zip -DestinationPath Tor
|
|
@ -82,7 +82,7 @@ class CwtchFfi implements Cwtch {
|
||||||
home = envVars['HOME'];
|
home = envVars['HOME'];
|
||||||
} else if (Platform.isWindows) {
|
} else if (Platform.isWindows) {
|
||||||
home = envVars['UserProfile'];
|
home = envVars['UserProfile'];
|
||||||
bundledTor = "windows\\Tor\\tor.exe";
|
bundledTor = "Tor\\Tor\\tor.exe";
|
||||||
}
|
}
|
||||||
var cwtchDir = path.join(home, ".cwtch/dev/");
|
var cwtchDir = path.join(home, ".cwtch/dev/");
|
||||||
print("cwtchDir $cwtchDir");
|
print("cwtchDir $cwtchDir");
|
||||||
|
|
147146
windows/Data/Tor/geoip
147146
windows/Data/Tor/geoip
File diff suppressed because it is too large
Load Diff
92956
windows/Data/Tor/geoip6
92956
windows/Data/Tor/geoip6
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue