mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 21:02:08 +08:00
0.0.1 -> 1.1.5 第2次更新
This commit is contained in:
parent
07406d409d
commit
fb60b23394
10
Program.cs
10
Program.cs
@ -10,14 +10,10 @@ internal sealed class Program
|
||||
[STAThread]
|
||||
private static async Task Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
AppBuilder.Configure<App>()
|
||||
.UsePlatformDetect()
|
||||
.WithInterFont()
|
||||
.StartWithClassicDesktopLifetime(args);
|
||||
}
|
||||
try { BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); }
|
||||
catch (Exception ex) { await MessageBoxManager.GetMessageBoxStandard(string.Empty, $"Error: {ex.Message}").ShowAsync(); }
|
||||
}
|
||||
|
||||
private static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure<App>().UsePlatformDetect().WithInterFont();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user