Elevate out the data-folder, since that's cross platform.
ADD
WalletWasabi/TorDaemons/data-folder.zip
WalletWasabi/TorDaemons/data-folder.zip
Binary files /dev/null and b/WalletWasabi/TorDaemons/data-folder.zip differ

MODIFY
WalletWasabi/TorDaemons/tor-win32.zip
WalletWasabi/TorDaemons/tor-win32.zip
Binary files a/WalletWasabi/TorDaemons/tor-win32.zip and b/WalletWasabi/TorDaemons/tor-win32.zip differ

MODIFY
WalletWasabi/TorSocks5/TorProcessManager.cs
WalletWasabi/TorSocks5/TorProcessManager.cs
@@ -49,6 +49,17 @@ namespace WalletWasabi.TorSocks5
{
var torDir = Path.Combine(AppContext.BaseDirectory, "tor");
var torDaemonsDir = $"TorDaemons";
+
+ try
+ {
+ ZipFile.ExtractToDirectory(Path.Combine(torDaemonsDir, "data-folder.zip"), torDir);
+ }
+ catch (UnauthorizedAccessException)
+ {
+ await Task.Delay(100);
+ ZipFile.ExtractToDirectory(Path.Combine(torDaemonsDir, "data-folder.zip"), torDir);
+ }
+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
try

MODIFY
WalletWasabi/WalletWasabi.csproj
WalletWasabi/WalletWasabi.csproj
</ItemGroup>
<ItemGroup>
+ <None Update="TorDaemons\data-folder.zip">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
+ <None Update="TorDaemons\Data.zip">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
<None Update="TorDaemons\tor-win32.zip">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

Elevate out the data-folder, since that's cross platform.