diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-17 21:33:40 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-17 21:57:13 +0800 |
| commit | ad0943f88ba9f5ed6eae198ecb4835c0f44701de (patch) | |
| tree | 6a8eb1fee42e7ee173e74788dafeb27c52429683 /rola-desktop/Program.cs | |
chore: initialize project structure and add core modules
Diffstat (limited to 'rola-desktop/Program.cs')
| -rw-r--r-- | rola-desktop/Program.cs | 21 |
1 files changed, 21 insertions, 0 deletions
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<App>() + .UsePlatformDetect() + .WithInterFont() + .LogToTrace(); +} |
