Remove tor zip related from packager
MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -360,7 +360,6 @@ namespace WalletWasabi.Packager
Tools.ClearSha512Tags(currentBinDistDirectory);
// Remove Tor binaries that are not relevant to the platform.
- var torFolder = new DirectoryInfo(Path.Combine(currentBinDistDirectory, "TorDaemons"));
var toNotRemove = "";
if (target.StartsWith("win"))
{
@@ -375,14 +374,6 @@ namespace WalletWasabi.Packager
toNotRemove = "osx";
}
- foreach (var file in torFolder.EnumerateFiles())
- {
- if (!file.Name.Contains("data", StringComparison.OrdinalIgnoreCase) && !file.Name.Contains(toNotRemove, StringComparison.OrdinalIgnoreCase))
- {
- File.Delete(file.FullName);
- }
- }
-
// Remove binaries that are not relevant to the platform.
var binaryFolder = new DirectoryInfo(Path.Combine(currentBinDistDirectory, "Microservices", "Binaries"));

Remove tor zip related from packager