Fallback to GTK for unrecognized OSes
This commit is contained in:
parent
37f0566507
commit
dd5030a13b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user