Remove TorDir makes no sense
MODIFY
WalletWasabi/Tor/TorProcessManager.cs
WalletWasabi/Tor/TorProcessManager.cs
@@ -97,7 +97,7 @@ namespace WalletWasabi.Tor
UseShellExecute = false,
CreateNoWindow = true,
RedirectStandardOutput = true,
- WorkingDirectory = Settings.TorDir
+ WorkingDirectory = Settings.TorBinaryDir
};
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

MODIFY
WalletWasabi/Tor/TorSettings.cs
WalletWasabi/Tor/TorSettings.cs
@@ -19,7 +19,6 @@ namespace WalletWasabi.Tor
/// <param name="distributionFolderPath">Full path to folder containing Tor installation files.</param>
public TorSettings(string dataDir, string logFilePath, string distributionFolderPath)
{
- TorDir = Path.Combine(dataDir, "tor");
TorBinaryFilePath = MicroserviceHelpers.GetBinaryPath(Path.Combine("Tor", "tor"));
TorBinaryDir = Path.Combine(MicroserviceHelpers.GetBinaryFolder(), "Tor");
@@ -31,10 +30,6 @@ namespace WalletWasabi.Tor
GeoIp6Path = Path.Combine(DistributionFolder, "Tor", "Geoip", "geoip6");
}
- /// <summary>Full directory path where Tor is installed (or supposed to be installed).</summary>
- /// <remarks>Folder contains <c>Data</c> and <c>Tor</c> (see <see cref="TorBinaryDir"/>) sub-folders.</remarks>
- public string TorDir { get; }
-
/// <summary>Full directory path where Tor binaries are placed.</summary>
public string TorBinaryDir { get; }

Remove TorDir makes no sense