Try settings.json on all platforms
1 files changed, 4 insertions, 4 deletions
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;
|