forked from Roflin/gamenight
22 lines
559 B
C#
22 lines
559 B
C#
|
using GLib;
|
||
|
using System;
|
||
|
using Uno.UI.Runtime.Skia;
|
||
|
|
||
|
namespace FrontendPlatformUno.Skia.Gtk
|
||
|
{
|
||
|
public class Program
|
||
|
{
|
||
|
public static void Main(string[] args)
|
||
|
{
|
||
|
ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs)
|
||
|
{
|
||
|
Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject.ToString());
|
||
|
expArgs.ExitApplication = true;
|
||
|
};
|
||
|
|
||
|
var host = new GtkHost(() => new AppHead(), args);
|
||
|
|
||
|
host.Run();
|
||
|
}
|
||
|
}
|
||
|
}
|