about summary refs log tree commit diff
path: root/MatrixRoomUtils.Desktop/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Desktop/Program.cs')
-rw-r--r--MatrixRoomUtils.Desktop/Program.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MatrixRoomUtils.Desktop/Program.cs b/MatrixRoomUtils.Desktop/Program.cs

index f692e45..6e299eb 100644 --- a/MatrixRoomUtils.Desktop/Program.cs +++ b/MatrixRoomUtils.Desktop/Program.cs
@@ -10,7 +10,7 @@ internal class Program { // SynchronizationContext-reliant code before AppMain is called: things aren't initialized // yet and stuff might break. // [STAThread] - public static async Task Main(string[] args) { + public static Task Main(string[] args) { try { BuildAvaloniaApp() .StartWithClassicDesktopLifetime(args); @@ -20,6 +20,8 @@ internal class Program { Console.WriteLine(e); throw; } + + return Task.CompletedTask; } // Avalonia configuration, don't remove; also used by visual designer.