diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-02-05 18:32:19 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-02-05 18:32:19 -0500 |
| commit | c1ae32ee04460442046d5276bb57726d6d1d6e92 (patch) | |
| tree | 788dd84859c54a2ca6fef28465aeaaed408ea7b1 /Program.cs | |
| download | HandsFree-master.tar.gz HandsFree-master.tar.bz2 HandsFree-master.zip | |
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 20 |
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(); +} |
