diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-13 08:22:09 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-13 08:22:09 +0800 |
| commit | 5d8b29664c13e6e5c6292d79973980182ece1441 (patch) | |
| tree | ced2f67c82ce0748dbd0090f0fde6b921329d259 /JVDesktop/Program.cs | |
| parent | 7d59c15b0efd2aa5a27aef356a265f850a2e7e2f (diff) | |
Diffstat (limited to 'JVDesktop/Program.cs')
| -rw-r--r-- | JVDesktop/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/JVDesktop/Program.cs b/JVDesktop/Program.cs index 850598c..75068c2 100644 --- a/JVDesktop/Program.cs +++ b/JVDesktop/Program.cs @@ -3,13 +3,13 @@ using System; namespace JVDesktop; -sealed class Program +static class Program { [STAThread] public static void Main(string[] args) => BuildAvaloniaApp() .StartWithClassicDesktopLifetime(args); - public static AppBuilder BuildAvaloniaApp() + private static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure<App>() .UsePlatformDetect() .WithInterFont() |
