Fix `UpgradeTorBinaries.ps1` for new Tor Browser builds
MODIFY
WalletWasabi/Microservices/Binaries/UpgradeTorBinaries.ps1
WalletWasabi/Microservices/Binaries/UpgradeTorBinaries.ps1
@@ -45,9 +45,9 @@ if ($IsWindows) {
$sevenZip = '7zz'
}
-$windowsInstaller = "torbrowser-install-win64-${version}_en-US.exe"
-$macDmg = "TorBrowser-${version}-osx64_en-US.dmg"
-$linuxTarball = "tor-browser-linux64-${version}_en-US.tar"
+$windowsInstaller = "torbrowser-install-${version}_ALL.exe"
+$macDmg = "TorBrowser-${version}-macos_ALL.dmg"
+$linuxTarball = "tor-browser-linux64-${version}_ALL.tar"
$linuxCompressedTarball = "$linuxTarball.xz"
$packages = @(
@@ -118,7 +118,7 @@ try {
Write-Output "# Extract Tor binary for linux."
mkdir -p "Tor/lin64/"
- Copy-item -Recurse -Force -Path "TorBrowser/linux/tor-browser_en-US/Browser/TorBrowser/Tor/*" -Destination "Tor/lin64/" -Exclude "PluggableTransports"
+ Copy-item -Recurse -Force -Path "TorBrowser/linux/tor-browser/Browser/TorBrowser/Tor/*" -Destination "Tor/lin64/" -Exclude "PluggableTransports"
}
if ($skipReplacingTorBinaries) {
@@ -136,7 +136,7 @@ try {
} else {
$destination = Join-Path -Resolve "$PSScriptRoot" ".." ".." "Tor" "Geoip"
Write-Output "# Replace geoip files in folder '$destination'."
- Copy-item -Force -Path "TorBrowser/linux/tor-browser_en-US/Browser/TorBrowser/Data/Tor/geoip*" -Destination "$destination/"
+ Copy-item -Force -Path "TorBrowser/linux/tor-browser/Browser/TorBrowser/Data/Tor/geoip*" -Destination "$destination/"
}
Write-Output "# Done."

Fix `UpgradeTorBinaries.ps1` for new Tor Browser builds