diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-02-01 01:05:42 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-02-01 01:05:42 -0500 |
| commit | fe46c308ef3eb1be3c39eca680e9b01b6b749336 (patch) | |
| tree | 6aa34c80cb7cc82f7553c5a039fb2c800052ef8f /Program.cs | |
| parent | 5822baba1d687aab4b1ceafbad2382ae6b4703c3 (diff) | |
| download | erable-godot-fe46c308ef3eb1be3c39eca680e9b01b6b749336.tar.gz erable-godot-fe46c308ef3eb1be3c39eca680e9b01b6b749336.tar.bz2 erable-godot-fe46c308ef3eb1be3c39eca680e9b01b6b749336.zip | |
Added project files
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..ef72448 --- /dev/null +++ b/Program.cs @@ -0,0 +1,23 @@ +using System;
+using Avalonia;
+using Avalonia.Controls.ApplicationLifetimes;
+using Avalonia.ReactiveUI;
+
+namespace Alee_Audio_Player
+{
+ class Program
+ {
+ // 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);
+
+ // Avalonia configuration, don't remove; also used by visual designer.
+ public static AppBuilder BuildAvaloniaApp()
+ => AppBuilder.Configure<App>()
+ .UsePlatformDetect()
+ .LogToTrace()
+ .UseReactiveUI();
+ }
+}
|
