Add grave accent when appropriate
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -477,10 +477,10 @@ namespace WalletWasabi.Gui
if (File.Exists(corruptedWalletBackupPath))
{
File.Delete(corruptedWalletBackupPath);
- Logger.LogInfo($"Deleted previous corrupted wallet file backup from {corruptedWalletBackupPath}.");
+ Logger.LogInfo($"Deleted previous corrupted wallet file backup from `{corruptedWalletBackupPath}`.");
}
File.Move(walletFullPath, corruptedWalletBackupPath);
- Logger.LogInfo($"Backed up corrupted wallet file to {corruptedWalletBackupPath}.");
+ Logger.LogInfo($"Backed up corrupted wallet file to `{corruptedWalletBackupPath}`.");
}
File.Copy(walletBackupFullPath, walletFullPath);
@@ -560,7 +560,7 @@ namespace WalletWasabi.Gui
{
string backupWalletFilePath = Path.Combine(WalletBackupsDir, Path.GetFileName(WalletService.KeyManager.FilePath));
WalletService.KeyManager?.ToFile(backupWalletFilePath);
- Logger.LogInfo($"{nameof(KeyManager)} backup saved to {backupWalletFilePath}.", nameof(Global));
+ Logger.LogInfo($"{nameof(KeyManager)} backup saved to `{backupWalletFilePath}`.", nameof(Global));
}
if (WalletService != null)
{

MODIFY
WalletWasabi/Hwi/HwiProcessManager.cs
WalletWasabi/Hwi/HwiProcessManager.cs
@@ -166,7 +166,7 @@ namespace WalletWasabi.Hwi
if (!File.Exists(HwiPath))
{
var exeName = Path.GetFileName(HwiPath);
- throw new FileNotFoundException($"{exeName} not found at {HwiPath}. Maybe it was removed by antivirus software!");
+ throw new FileNotFoundException($"{exeName} not found at `{HwiPath}`. Maybe it was removed by antivirus software!");
}
using (var process = Process.Start(
@@ -232,7 +232,7 @@ namespace WalletWasabi.Hwi
if (!File.Exists(hwiPath))
{
- Logger.LogInfo($"HWI instance NOT found at {hwiPath}. Attempting to acquire it...", nameof(HwiProcessManager));
+ Logger.LogInfo($"HWI instance NOT found at `{hwiPath}`. Attempting to acquire it...", nameof(HwiProcessManager));
await InstallHwiAsync(fullBaseDirectory, hwiDir);
}
else if (!IoHelpers.CheckExpectedHash(hwiPath, Path.Combine(fullBaseDirectory, "Hwi", "Software")))
@@ -252,7 +252,7 @@ namespace WalletWasabi.Hwi
{
if (logFound)
{
- Logger.LogInfo($"HWI instance found at {hwiPath}.", nameof(HwiProcessManager));
+ Logger.LogInfo($"HWI instance found at `{hwiPath}`.", nameof(HwiProcessManager));
}
}
@@ -267,13 +267,13 @@ namespace WalletWasabi.Hwi
{
string hwiLinuxZip = Path.Combine(hwiSoftwareDir, "hwi-linux64.zip");
await IoHelpers.BetterExtractZipToDirectoryAsync(hwiLinuxZip, hwiDir);
- Logger.LogInfo($"Extracted {hwiLinuxZip} to {hwiDir}.", nameof(HwiProcessManager));
+ Logger.LogInfo($"Extracted {hwiLinuxZip} to `{hwiDir}`.", nameof(HwiProcessManager));
}
else // OSX
{
string hwiOsxZip = Path.Combine(hwiSoftwareDir, "hwi-osx64.zip");
await IoHelpers.BetterExtractZipToDirectoryAsync(hwiOsxZip, hwiDir);
- Logger.LogInfo($"Extracted {hwiOsxZip} to {hwiDir}.", nameof(HwiProcessManager));
+ Logger.LogInfo($"Extracted {hwiOsxZip} to `{hwiDir}`.", nameof(HwiProcessManager));
}
// Make sure there's sufficient permission.

Add grave accent when appropriate