diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-22 06:15:44 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-22 06:15:44 +0800 |
| commit | e6bf6f5091caf3b4366894643671bc4586794cda (patch) | |
| tree | 18f1ed3eb8820218ebfb9b2fad3da97c3bdaaa10 /manager/Program.cs | |
| parent | 7091f88c9f0bbbad6959874993145cbd06c1886a (diff) | |
feat: add GUI manager and integrate into build pipeline
Diffstat (limited to 'manager/Program.cs')
| -rw-r--r-- | manager/Program.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manager/Program.cs b/manager/Program.cs new file mode 100644 index 0000000..c2f6e74 --- /dev/null +++ b/manager/Program.cs @@ -0,0 +1,21 @@ +using Avalonia; +using System; + +namespace manager; + +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(); +} |
