delete binary tor, include powershell script to fetch tor, change cwtch/ffi Tor binary location
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2021-05-12 18:13:45 -07:00
parent 7969d7e6b1
commit 7d72e65445
15 changed files with 7 additions and 240103 deletions

6
fetch-tor-win.ps1 Normal file
View File

@ -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

View File

@ -82,7 +82,7 @@ class CwtchFfi implements Cwtch {
home = envVars['HOME'];
} else if (Platform.isWindows) {
home = envVars['UserProfile'];
bundledTor = "windows\\Tor\\tor.exe";
bundledTor = "Tor\\Tor\\tor.exe";
}
var cwtchDir = path.join(home, ".cwtch/dev/");
print("cwtchDir $cwtchDir");

File diff suppressed because it is too large Load Diff

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.