fix windows tor fetch
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Ballard 2023-11-19 16:47:58 -08:00
parent efb29e81b6
commit 11a63eccc2
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ Invoke-WebRequest -Uri
# if ((Get-FileHash tor.tar.gz -Algorithm sha512).Hash -ne '5b8f900a37f6e90d7a945b3903d769383c7478042cb43b2105d2374186e1a536f1a4758a2823d1d5be71d53a81dcfd8243293e04f82812d355983df322823cf4' ) { Write-Error ' sha512sum mismatch' }
#Expand-Archive -Path tor.tar.gz -DestinationPath tor
rm -r windows/tor
if (Test-Path -Path windows/tor) {
rm -r windows/tor
mkdir -p windows/tor
tar -xzf tor.tar.gz -C windows/tor