diff --git a/AstroWall/ApplicationLayer/Helpers/SystemEvents.Macos.cs b/AstroWall/ApplicationLayer/Helpers/SystemEvents.Macos.cs index 9a3859f..febd412 100644 --- a/AstroWall/ApplicationLayer/Helpers/SystemEvents.Macos.cs +++ b/AstroWall/ApplicationLayer/Helpers/SystemEvents.Macos.cs @@ -63,7 +63,7 @@ public void RegisterWallpaperWakeHandler(Action ac) public static void SetAsLaunchAgent() { string ap = agentPath(); - string agentXmlContent = @" + string agentXmlContent = $@" @@ -72,7 +72,7 @@ public static void SetAsLaunchAgent() LimitLoadToSessionType Aqua Program - /Applications/Astro Wall.app/Contents/MacOS/Astro Wall + {General.GetInstallPath()}/Contents/MacOS/Astro Wall RunAtLoad