Improve folder
MODIFY
WalletWasabi/Microservices/Binaries/README.md
WalletWasabi/Microservices/Binaries/README.md
1. Replace executables.
2. Properties/Copy to Output: Copy if newer.
-3. Make sure the Linux and the OSX binaries are executable: `git update-index --chmod=+x hwi/bitcoind`.
+3. Make sure the Linux and the OSX binaries are executable:
+ `git update-index --chmod=+x hwi`
+ `git update-index --chmod=+x bitcoind`
4. Commit, push.
5. Make sure CI passes.

RENAME
WalletWasabi/Microservices/Binaries/hwi-lin64/bitcoind
WalletWasabi/Microservices/Binaries/lin64/bitcoind
RENAME
WalletWasabi/Microservices/Binaries/hwi-lin64/hwi
WalletWasabi/Microservices/Binaries/lin64/hwi
RENAME
WalletWasabi/Microservices/Binaries/hwi-osx64/bitcoind
WalletWasabi/Microservices/Binaries/osx64/bitcoind
RENAME
WalletWasabi/Microservices/Binaries/hwi-osx64/hwi
WalletWasabi/Microservices/Binaries/osx64/hwi
RENAME
WalletWasabi/Microservices/Binaries/hwi-win64/bitcoind.exe
WalletWasabi/Microservices/Binaries/win64/bitcoind.exe
RENAME
WalletWasabi/Microservices/Binaries/hwi-win64/hwi.exe
WalletWasabi/Microservices/Binaries/win64/hwi.exe
MODIFY
WalletWasabi/Microservices/MicroserviceHelpers.cs
WalletWasabi/Microservices/MicroserviceHelpers.cs
@@ -17,15 +17,15 @@ namespace WalletWasabi.Microservices
string path;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
- path = Path.Combine(commonPartialPath, $"{binaryNameWithoutExtension}-win64", $"{binaryNameWithoutExtension}.exe");
+ path = Path.Combine(commonPartialPath, $"win64", $"{binaryNameWithoutExtension}.exe");
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
- path = Path.Combine(commonPartialPath, $"{binaryNameWithoutExtension}-lin64", binaryNameWithoutExtension);
+ path = Path.Combine(commonPartialPath, $"lin64", binaryNameWithoutExtension);
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
- path = Path.Combine(commonPartialPath, $"{binaryNameWithoutExtension}-osx64", binaryNameWithoutExtension);
+ path = Path.Combine(commonPartialPath, $"osx64", binaryNameWithoutExtension);
}
else
{

MODIFY
WalletWasabi/WalletWasabi.csproj
WalletWasabi/WalletWasabi.csproj
</ItemGroup>
<ItemGroup>
- <None Update="Microservices\Binaries\hwi-lin64\bitcoind">
+ <None Update="Microservices\Binaries\lin64\bitcoind">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
- <None Update="Microservices\Binaries\hwi-osx64\bitcoind">
+ <None Update="Microservices\Binaries\osx64\bitcoind">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
- <None Update="Microservices\Binaries\hwi-win64\bitcoind.exe">
+ <None Update="Microservices\Binaries\win64\bitcoind.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
- <None Update="Microservices\Binaries\hwi-lin64\hwi">
+ <None Update="Microservices\Binaries\lin64\hwi">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
- <None Update="Microservices\Binaries\hwi-osx64\hwi">
+ <None Update="Microservices\Binaries\osx64\hwi">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
- <None Update="Microservices\Binaries\hwi-win64\hwi.exe">
+ <None Update="Microservices\Binaries\win64\hwi.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="OnionSeeds\MainOnionSeeds.txt">

Improve folder