From 03313562d21d5db9bf6a14ebbeab80e06c883d3a Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 24 Jan 2024 02:31:56 +0100 Subject: MRU->RMU, fixes, cleanup --- MatrixRoomUtils.Desktop/Program.cs | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 MatrixRoomUtils.Desktop/Program.cs (limited to 'MatrixRoomUtils.Desktop/Program.cs') diff --git a/MatrixRoomUtils.Desktop/Program.cs b/MatrixRoomUtils.Desktop/Program.cs deleted file mode 100644 index aa1d9d3..0000000 --- a/MatrixRoomUtils.Desktop/Program.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Avalonia; -using Microsoft.Extensions.Hosting; -using Tmds.DBus.Protocol; - -namespace MatrixRoomUtils.Desktop; - -internal class Program { - private static IHost appHost; - // Initialization code. Don't use any Avalonia, third-party APIs or any - // SynchronizationContext-reliant code before AppMain is called: things aren't initialized - // yet and stuff might break. - // [STAThread] - public static Task Main(string[] args) { - try { - BuildAvaloniaApp() - .StartWithClassicDesktopLifetime(args); - } - catch (DBusException e) { } - catch (Exception e) { - Console.WriteLine(e); - throw; - } - - return Task.CompletedTask; - } - - // Avalonia configuration, don't remove; also used by visual designer. - public static AppBuilder BuildAvaloniaApp() - => AppBuilder.Configure() - .UsePlatformDetect() - .WithInterFont() - .LogToTrace(); -} -- cgit 1.5.1