Fix file path on macOS
MODIFY
WalletWasabi/Tor/TorSettings.cs
WalletWasabi/Tor/TorSettings.cs
@@ -18,7 +18,8 @@ namespace WalletWasabi.Tor
/// <param name="distributionFolderPath">Full path to folder containing Tor installation files.</param>
public TorSettings(string dataDir, string logFilePath, string distributionFolderPath)
{
- TorBinaryFilePath = MicroserviceHelpers.GetBinaryPath(Path.Combine("Tor", "tor"));
+ var torBinary = MicroserviceHelpers.GetBinaryPath(Path.Combine("Tor", "tor"));
+ TorBinaryFilePath = RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? $"{torBinary}.real" : torBinary;
TorBinaryDir = Path.Combine(MicroserviceHelpers.GetBinaryFolder(), "Tor");
TorDataDir = Path.Combine(dataDir, "tordata");

Fix file path on macOS