fix windows tor fetch
This commit is contained in:
parent
acf3fcb648
commit
efb29e81b6
|
@ -2,7 +2,9 @@
|
||||||
Invoke-WebRequest -Uri https://archive.torproject.org/tor-package-archive/torbrowser/13.0.1/tor-expert-bundle-windows-x86_64-13.0.1.tar.gz -OutFile tor.tar.gz
|
Invoke-WebRequest -Uri https://archive.torproject.org/tor-package-archive/torbrowser/13.0.1/tor-expert-bundle-windows-x86_64-13.0.1.tar.gz -OutFile tor.tar.gz
|
||||||
|
|
||||||
# if ((Get-FileHash tor.tar.gz -Algorithm sha512).Hash -ne '5b8f900a37f6e90d7a945b3903d769383c7478042cb43b2105d2374186e1a536f1a4758a2823d1d5be71d53a81dcfd8243293e04f82812d355983df322823cf4' ) { Write-Error 'tor.zip sha512sum mismatch' }
|
# 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
|
#Expand-Archive -Path tor.tar.gz -DestinationPath tor
|
||||||
mkdir windows/tor
|
|
||||||
|
rm -r windows/tor
|
||||||
|
mkdir -p windows/tor
|
||||||
tar -xzf tor.tar.gz -C windows/tor
|
tar -xzf tor.tar.gz -C windows/tor
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue