cwtch-ui/fetch-tor-win.ps1

7 lines
419 B
PowerShell
Raw Normal View History

2021-06-24 23:10:45 +00:00
2023-11-25 18:11:07 +00:00
Invoke-WebRequest -Uri https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-win64.zip -OutFile tor.zip
2021-06-24 23:10:45 +00:00
2023-11-25 18:11:07 +00:00
if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne 'fa8792fb64d133cd17fa0405e1e67c3135785baf05f0402e32cfbd3154ef7698b73a93969114a00cb32a27e2a17afd37987539542030aac1c828359be792843f' ) { Write-Error 'tor.zip sha512sum mismatch' }
2023-11-20 00:25:21 +00:00
Expand-Archive -Path tor.zip -DestinationPath Tor