Files
velopack/samples/CSharpUno/UnoSample/Platforms/Desktop/Program.cs
T

24 lines
466 B
C#
Raw Normal View History

2024-06-08 00:12:42 -07:00
using Uno.UI.Runtime.Skia;
namespace UnoSample;
public class Program
{
[STAThread]
public static void Main(string[] args)
{
#if (!useDependencyInjection && useLoggingFallback)
App.InitializeLogging();
#endif
var host = SkiaHostBuilder.Create()
.App(() => new App())
.UseX11()
.UseLinuxFrameBuffer()
.UseMacOS()
.UseWindows()
.Build();
host.Run();
}
}