From e81e3817c0a4b735da47e6c45529c6f88ed4d52f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 8 Feb 2021 21:27:18 -0500 Subject: Moved playback to backend; Menu; Size now matches --- Erable/Program.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Erable/Program.cs') diff --git a/Erable/Program.cs b/Erable/Program.cs index 312bbb4..f461a79 100644 --- a/Erable/Program.cs +++ b/Erable/Program.cs @@ -10,11 +10,18 @@ namespace Erable // 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. - public static void Main(string[] args) => BuildAvaloniaApp() - .StartWithClassicDesktopLifetime(args); + public static void Main(string[] args) + { + Console.WriteLine("Erable: Audio Player by Alee Productions"); + Console.WriteLine("Running on .NET " + Environment.Version + ", and " + Environment.OSVersion); + #if DEBUG + Console.WriteLine("Opening MainWindow..."); + #endif + try { BuildAvaloniaApp().StartWithClassicDesktopLifetime(args); }catch (Exception ex) { Console.WriteLine(ex); } + } // Avalonia configuration, don't remove; also used by visual designer. - public static AppBuilder BuildAvaloniaApp() + static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure() .UsePlatformDetect() .LogToTrace() -- cgit v1.2.3