mirror of
https://github.com/logos-co/velopack.git
synced 2026-09-01 22:21:16 +00:00
24 lines
466 B
C#
24 lines
466 B
C#
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();
|
||
|
|
}
|
||
|
|
}
|