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
|
Application.Initialize(ToolkitType.Gtk); // TODO: Cocoa
|
||||||
else if (RuntimeInfo.IsWindows)
|
else if (RuntimeInfo.IsWindows)
|
||||||
Application.Initialize(ToolkitType.Wpf);
|
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 = new UserSettings();
|
||||||
UserSettings.Local.Load();
|
UserSettings.Local.Load();
|
||||||
var thread = new Thread(KeepSessionAlive);
|
var thread = new Thread(KeepSessionAlive);
|
||||||
|
Reference in New Issue
Block a user