using Avalonia; namespace AcDream.Launcher; internal static class Program { [STAThread] public static int Main(string[] args) { if (args is ["--verify-publish"]) { // A display-free execution probe for the packaged artifact. CI // runs this with DOTNET_ROOT pointing at a missing directory; a // framework-dependent publish cannot reach this return statement. return 0; } return BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); } public static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure() .UsePlatformDetect(); }