Add 32bit Linux Tor support
Resolves:
ADD
WalletWasabi/TorDaemons/tor-linux32.zip
WalletWasabi/TorDaemons/tor-linux32.zip
Binary files /dev/null and b/WalletWasabi/TorDaemons/tor-linux32.zip differ

MODIFY
WalletWasabi/TorSocks5/TorProcessManager.cs
WalletWasabi/TorSocks5/TorProcessManager.cs
@@ -69,7 +69,15 @@ namespace WalletWasabi.TorSocks5
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
- string torLinuxZip = Path.Combine(torDaemonsDir, "tor-linux64.zip");
+ string torLinuxZip = "";
+ if (RuntimeInformation.OSArchitecture == Architecture.X86)
+ {
+ torLinuxZip = Path.Combine(torDaemonsDir, "tor-linux32.zip");
+ }
+ else // x64
+ {
+ torLinuxZip = Path.Combine(torDaemonsDir, "tor-linux64.zip");
+ }
await IoHelpers.BetterExtractZipToDirectoryAsync(torLinuxZip, torDir);
Logger.LogInfo<TorProcessManager>($"Extracted {torLinuxZip} to {torDir}.");
}

MODIFY
WalletWasabi/WalletWasabi.csproj
WalletWasabi/WalletWasabi.csproj
<None Update="TorDaemons\Data.zip">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
+ <None Update="TorDaemons\tor-linux32.zip">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
<None Update="TorDaemons\tor-linux64.zip">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>

Add 32bit Linux Tor support
Resolves: https://github.com/zkSNACKs/WalletWasabi/issues/644