cwtch-ui/fetch-tor-win.ps1

7 lines
419 B
PowerShell
Raw Permalink 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-29 20:01:58 +00:00
if ((Get-FileHash tor.zip -Algorithm sha512).Hash -ne 'a1c90d9a2f82df5f3d973e260bbfec76e413417cfa276fb70d1668214e2e607cf65be86a25e30c6f7814261dc154a02568459945f31389ae6a22e03d6d0d3c4c' ) { Write-Error 'tor.zip sha512sum mismatch' }
2023-11-20 00:25:21 +00:00
Expand-Archive -Path tor.zip -DestinationPath Tor