28 lines
845 B
C#
Raw Permalink Normal View History

2024-02-14 23:32:20 +01:00
using System;
using Avalonia;
2024-02-18 21:51:15 +01:00
using Avalonia.ReactiveUI;
2024-02-20 23:02:47 +01:00
using AvaloniaInside.Shell;
2024-02-14 23:32:20 +01:00
2024-02-20 23:02:47 +01:00
namespace Borepin.Desktop
2024-02-14 23:32:20 +01:00
{
2024-02-20 23:02:47 +01:00
class Program
{
// Initialization code. Don't use any Avalonia, third-party APIs or any
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized
// yet and stuff might break.
[STAThread]
public static void Main(string[] args) => BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
2024-02-14 23:32:20 +01:00
2024-02-20 23:02:47 +01:00
// Avalonia configuration, don't remove; also used by visual designer.
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.WithInterFont()
.LogToTrace()
.UseReactiveUI()
.UseShell();
}
2024-02-14 23:32:20 +01:00
}