From dd5030a13b51b034328acde68ac5d5b8604162fa Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 6 Apr 2016 18:44:24 -0400 Subject: [PATCH] Fallback to GTK for unrecognized OSes --- TrueCraft.Launcher/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TrueCraft.Launcher/Program.cs b/TrueCraft.Launcher/Program.cs index 4ed1412..5539c8c 100644 --- a/TrueCraft.Launcher/Program.cs +++ b/TrueCraft.Launcher/Program.cs @@ -19,6 +19,10 @@ namespace TrueCraft.Launcher Application.Initialize(ToolkitType.Gtk); // TODO: Cocoa else if (RuntimeInfo.IsWindows) Application.Initialize(ToolkitType.Wpf); + else + // In this case they're probably using some flavor of Unix + // which probably has some flavor of GTK availble + Application.Initialize(ToolkitType.Gtk); UserSettings.Local = new UserSettings(); UserSettings.Local.Load(); var thread = new Thread(KeepSessionAlive);