From c1ae32ee04460442046d5276bb57726d6d1d6e92 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 5 Feb 2023 18:32:19 -0500 Subject: Inital commit --- Program.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Program.cs (limited to 'Program.cs') 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() + .UsePlatformDetect() + .LogToTrace(); +} -- cgit v1.2.3