From ad0943f88ba9f5ed6eae198ecb4835c0f44701de Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 17 Jun 2026 21:33:40 +0800 Subject: chore: initialize project structure and add core modules --- rola-desktop/Program.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 rola-desktop/Program.cs (limited to 'rola-desktop/Program.cs') diff --git a/rola-desktop/Program.cs b/rola-desktop/Program.cs new file mode 100644 index 0000000..30e9ca6 --- /dev/null +++ b/rola-desktop/Program.cs @@ -0,0 +1,21 @@ +using Avalonia; +using System; + +namespace rola_desktop; + +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() + .UsePlatformDetect() + .WithInterFont() + .LogToTrace(); +} -- cgit