19 lines
436 B
C#
19 lines
436 B
C#
|
|
using Avalonia;
|
|||
|
|
using Avalonia.ReactiveUI;
|
|||
|
|
|
|||
|
|
namespace Discovery.Loader;
|
|||
|
|
|
|||
|
|
public class Program
|
|||
|
|
{
|
|||
|
|
[STAThread]
|
|||
|
|
public static void Main(string[] args) => BuildAvaloniaApp()
|
|||
|
|
.StartWithClassicDesktopLifetime(args);
|
|||
|
|
|
|||
|
|
public static AppBuilder BuildAvaloniaApp()
|
|||
|
|
=> AppBuilder.Configure<App>()
|
|||
|
|
.UsePlatformDetect()
|
|||
|
|
.WithInterFont()
|
|||
|
|
.LogToTrace()
|
|||
|
|
.UseReactiveUI();
|
|||
|
|
}
|