A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
497 B

using System;
using System.Linq;
using Avalonia;
namespace ControlCatalog.NetCore
{
class Program
{
static void Main(string[] args)
{
if (args.Contains("--fbdev"))
AppBuilder.Configure<App>()
.InitializeWithLinuxFramebuffer(tl => tl.Content = new MainView());
else
AppBuilder.Configure<App>()
.UsePlatformDetect()
.Start<MainWindow>();
}
}
}