diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-02-01 22:13:46 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-02-01 22:13:46 -0500 |
| commit | c7428fab1c38d29bcc50ee263678504e34d01318 (patch) | |
| tree | bf5c4a63afc1513d361c6b18fd6c6cf3f0aaaa27 /Erable/Program.cs | |
| parent | d5f8e3f543e138b43fca95ed058345b9ab446d2f (diff) | |
| download | erable-godot-c7428fab1c38d29bcc50ee263678504e34d01318.tar.gz erable-godot-c7428fab1c38d29bcc50ee263678504e34d01318.tar.bz2 erable-godot-c7428fab1c38d29bcc50ee263678504e34d01318.zip | |
Moved project files
Diffstat (limited to 'Erable/Program.cs')
| -rw-r--r-- | Erable/Program.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Erable/Program.cs b/Erable/Program.cs new file mode 100644 index 0000000..312bbb4 --- /dev/null +++ b/Erable/Program.cs @@ -0,0 +1,23 @@ +using System;
+using Avalonia;
+using Avalonia.Controls.ApplicationLifetimes;
+using Avalonia.ReactiveUI;
+
+namespace Erable
+{
+ 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();
+ }
+}
|
