diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-02-08 21:27:18 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-02-08 21:27:18 -0500 |
| commit | e81e3817c0a4b735da47e6c45529c6f88ed4d52f (patch) | |
| tree | d787a2503a6d4d3c19f9a3c6bced71c61035842a /Erable/Program.cs | |
| parent | f5a7e3ef7e25aa2545f541e171f2d5f6fe43ecc7 (diff) | |
| download | erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.tar.gz erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.tar.bz2 erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.zip | |
Moved playback to backend; Menu; Size now matches
Diffstat (limited to 'Erable/Program.cs')
| -rw-r--r-- | Erable/Program.cs | 13 |
1 files changed, 10 insertions, 3 deletions
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<App>()
.UsePlatformDetect()
.LogToTrace()
|
