Modify constant to make it usable at more place
MODIFY
WalletWasabi.Fluent/Helpers/StartupHelper.cs
WalletWasabi.Fluent/Helpers/StartupHelper.cs
@@ -13,10 +13,10 @@ namespace WalletWasabi.Fluent.Helpers
private const string KeyPath = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run";
// Arguments to add Wasabi to macOS startup settings.
- private static readonly string AddCmd = $"osascript -e \' tell application \"System Events\" to make new login item at end with properties {{name:\"Wasabi Wallet\", path:\"/Applications/{Constants.AppName}\",hidden:false}} \'";
+ private static readonly string AddCmd = $"osascript -e \' tell application \"System Events\" to make new login item at end with properties {{name:\"{Constants.AppName}\", path:\"/Applications/{Constants.AppName}.app\",hidden:false}} \'";
// Arguments to delete Wasabi from macOS startup settings.
- private static readonly string DeleteCmd = "osascript -e \' tell application \"System Events\" to delete login item \"Wasabi Wallet\" \'";
+ private static readonly string DeleteCmd = $"osascript -e \' tell application \"System Events\" to delete login item \"{Constants.AppName}\" \'";
public static async Task ModifyStartupSettingAsync(bool runOnSystemStartup)
{

MODIFY
WalletWasabi.Packager/MacSignTools.cs
WalletWasabi.Packager/MacSignTools.cs
@@ -34,7 +34,7 @@ namespace WalletWasabi.Packager
var workingDir = Path.Combine(desktopPath, "wasabiTemp");
var dmgPath = Path.Combine(workingDir, "dmg");
var unzippedPath = Path.Combine(workingDir, "unzipped");
- var appName = Constants.AppName;
+ var appName = $"{Constants.AppName}.app";
var appPath = Path.Combine(dmgPath, appName);
var appContentsPath = Path.Combine(appPath, "Contents");
var appMacOsPath = Path.Combine(appContentsPath, "MacOS");

MODIFY
WalletWasabi/Helpers/Constants.cs
WalletWasabi/Helpers/Constants.cs
@@ -50,7 +50,7 @@ namespace WalletWasabi.Helpers
public const string CapitalAlphaNumericCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
public const string ExecutableName = "wassabee";
- public const string AppName = "Wasabi Wallet.app";
+ public const string AppName = "Wasabi Wallet";
public const string BuiltinBitcoinNodeName = "Bitcoin Knots";
public static readonly Version ClientVersion = new(1, 1, 12, 9);

Modify constant to make it usable at more place