mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 21:02:08 +08:00
24 lines
543 B
C#
24 lines
543 B
C#
using Avalonia;
|
|
using MsBox.Avalonia;
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Sheas_Cealer_Nix;
|
|
|
|
internal sealed class Program
|
|
{
|
|
[STAThread]
|
|
public 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(); }
|
|
}
|
|
}
|
|
|