From 776a6a51fa2aea90e6a5e2a600063fda72ee85b3 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 2 Feb 2026 19:59:54 +0100 Subject: Try settings.json on all platforms --- SpacebarDiscordDesktopLauncher/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'SpacebarDiscordDesktopLauncher/Program.cs') diff --git a/SpacebarDiscordDesktopLauncher/Program.cs b/SpacebarDiscordDesktopLauncher/Program.cs index 3ef8e00..cf317a0 100644 --- a/SpacebarDiscordDesktopLauncher/Program.cs +++ b/SpacebarDiscordDesktopLauncher/Program.cs @@ -25,7 +25,7 @@ internal class Program PlatformID.Unix => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "share", - "Discord-SpacebarLauncher"), + "Discord-SpacebarLauncher.local2001"), _ => throw new Exception($"Unknown platform: {Environment.OSVersion.Platform}") }; @@ -39,7 +39,7 @@ internal class Program if (!Directory.Exists(Path.Combine(userDataPath, discordBinName))) Directory.CreateDirectory(Path.Combine(userDataPath, discordBinName)); - if (Environment.OSVersion.Platform == PlatformID.Unix) + // if (Environment.OSVersion.Platform == PlatformID.Unix) { var settingsJsonPath = Path.Combine(userDataPath, discordBinName, "settings.json"); JsonObject discordSettings = new(); @@ -58,9 +58,9 @@ internal class Program // various behavior changes //discordSettings!["WEBAPP_ENDPOINT"] = "https://discord.localhost"; - //discordSettings!["WEBAPP_ENDPOINT"] = "https://localhost:2001"; + discordSettings!["WEBAPP_ENDPOINT"] = "https://localhost:2001"; //discordSettings!["WEBAPP_ENDPOINT"] = "http://localhost:2000"; - discordSettings!["WEBAPP_ENDPOINT"] = "https://fermi.chat"; + //discordSettings!["WEBAPP_ENDPOINT"] = "https://fermi.chat"; discordSettings!["trayBalloonShown"] = true; // We don't need to be re-introduced to how system trays work discordSettings!["MIN_WIDTH"] = 1; discordSettings!["MIN_HEIGHT"] = 1; -- cgit 1.5.1