aboutsummaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-02-05 18:32:19 -0500
committerAndrew Lee <alee14498@protonmail.com>2023-02-05 18:32:19 -0500
commitc1ae32ee04460442046d5276bb57726d6d1d6e92 (patch)
tree788dd84859c54a2ca6fef28465aeaaed408ea7b1 /Program.cs
downloadHandsFree-c1ae32ee04460442046d5276bb57726d6d1d6e92.tar.gz
HandsFree-c1ae32ee04460442046d5276bb57726d6d1d6e92.tar.bz2
HandsFree-c1ae32ee04460442046d5276bb57726d6d1d6e92.zip
Inital commitHEADmaster
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
new file mode 100644
index 0000000..8d9dd72
--- /dev/null
+++ b/Program.cs
@@ -0,0 +1,20 @@
+using Avalonia;
+using System;
+
+namespace HandsFree;
+
+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()
+ .LogToTrace();
+}