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]
|
[STAThread]
|
||||||
private static async Task Main(string[] args)
|
private static async Task Main(string[] args)
|
||||||
{
|
{
|
||||||
try
|
try { BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); }
|
||||||
{
|
|
||||||
AppBuilder.Configure<App>()
|
|
||||||
.UsePlatformDetect()
|
|
||||||
.WithInterFont()
|
|
||||||
.StartWithClassicDesktopLifetime(args);
|
|
||||||
}
|
|
||||||
catch (Exception ex) { await MessageBoxManager.GetMessageBoxStandard(string.Empty, $"Error: {ex.Message}").ShowAsync(); }
|
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