mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
22 lines
440 B
C#
22 lines
440 B
C#
|
|
using Avalonia;
|
||
|
|
|
||
|
|
namespace LanMountainDesktop.AirAppHost;
|
||
|
|
|
||
|
|
internal static class Program
|
||
|
|
{
|
||
|
|
[STAThread]
|
||
|
|
public static void Main(string[] args)
|
||
|
|
{
|
||
|
|
BuildAvaloniaApp()
|
||
|
|
.StartWithClassicDesktopLifetime(args);
|
||
|
|
}
|
||
|
|
|
||
|
|
private static AppBuilder BuildAvaloniaApp()
|
||
|
|
{
|
||
|
|
return AppBuilder.Configure<AirApp>()
|
||
|
|
.UsePlatformDetect()
|
||
|
|
.WithInterFont()
|
||
|
|
.LogToTrace();
|
||
|
|
}
|
||
|
|
}
|