Only ship HWI that's relevant for the platform
MODIFY
WalletWasabi.Packager/Program.cs
WalletWasabi.Packager/Program.cs
@@ -384,6 +384,8 @@ namespace WalletWasabi.Packager
Tools.ClearSha512Tags(currentBinDistDirectory);
//Tools.RemoveSosDocsUnix(currentBinDistDirectory);
+ // Remove Hwi binaries those are not relevant to the platform.
+ var hwiFolder = new DirectoryInfo(Path.Combine(currentBinDistDirectory, "Hwi", "Software"));
// Remove Tor binaries those are not relevant to the platform.
var torFolder = new DirectoryInfo(Path.Combine(currentBinDistDirectory, "TorDaemons"));
var toNotremove = "";
@@ -399,7 +401,7 @@ namespace WalletWasabi.Packager
{
toNotremove = "osx";
}
- foreach (var file in torFolder.EnumerateFiles())
+ foreach (var file in torFolder.EnumerateFiles().Concat(hwiFolder.EnumerateFiles()))
{
if (!file.Name.Contains("data", StringComparison.OrdinalIgnoreCase) && !file.Name.Contains(toNotremove, StringComparison.OrdinalIgnoreCase))
{

Only ship HWI that's relevant for the platform