Sheas-Cealer/Program.cs
2025-06-06 10:37:43 +08:00

24 lines
544 B
C#

using Avalonia;
using MsBox.Avalonia;
using System;
using System.Threading.Tasks;
namespace Sheas_Cealer_Nix;
internal sealed class Program
{
[STAThread]
private static async Task Main(string[] args)
{
try
{
AppBuilder.Configure<App>()
.UsePlatformDetect()
.WithInterFont()
.StartWithClassicDesktopLifetime(args);
}
catch (Exception ex) { await MessageBoxManager.GetMessageBoxStandard(string.Empty, $"Error: {ex.Message}").ShowAsync(); }
}
}