1 files changed, 22 insertions, 0 deletions
diff --git a/BatchBeatmapDownloader/Program.cs b/BatchBeatmapDownloader/Program.cs
new file mode 100644
index 0000000..87236fd
--- /dev/null
+++ b/BatchBeatmapDownloader/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using Avalonia;
+using Avalonia.ReactiveUI;
+
+namespace BatchBeatmapDownloader;
+
+internal 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()
+ .WithInterFont()
+ .LogToTrace()
+ .UseReactiveUI();
+}
|