From 837960b3876873db23f4c8e4d9f63ba16b60c246 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 24 Nov 2023 14:07:00 -0800 Subject: [PATCH] Revert "fix windows tor fetch" This reverts commit 11a63eccc217fafbc9c44f2734dc1ffd7aed19c1. --- fetch-tor-win.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fetch-tor-win.ps1 b/fetch-tor-win.ps1 index 5575a881..291bcbe8 100644 --- a/fetch-tor-win.ps1 +++ b/fetch-tor-win.ps1 @@ -4,9 +4,7 @@ Invoke-WebRequest -Uri https://archive.torproject.org/tor-package-archive/torbro # if ((Get-FileHash tor.tar.gz -Algorithm sha512).Hash -ne '5b8f900a37f6e90d7a945b3903d769383c7478042cb43b2105d2374186e1a536f1a4758a2823d1d5be71d53a81dcfd8243293e04f82812d355983df322823cf4' ) { Write-Error 'tor.zip sha512sum mismatch' } #Expand-Archive -Path tor.tar.gz -DestinationPath tor -if (Test-Path -Path windows/tor) { - rm -r windows/tor -} +rm -r windows/tor mkdir -p windows/tor tar -xzf tor.tar.gz -C windows/tor