summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authoruvok2026-05-16 19:40:09 +0200
committeruvok2026-05-16 19:40:09 +0200
commit064dbb3f410b2b95fede248be7b57179e762db0b (patch)
treecdd318ee138051537366f49a604d27dc21920ebf /Program.cs
Initial commit
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
new file mode 100644
index 0000000..e1d7e33
--- /dev/null
+++ b/Program.cs
@@ -0,0 +1,24 @@
+using Avalonia;
+using System;
+
+namespace east_auctioner;
+
+sealed 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.
+ [STAThread]
+ 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()
+#if DEBUG
+ .WithDeveloperTools()
+#endif
+ .WithInterFont()
+ .LogToTrace();
+}