From 8f0f67745eb8888b71ce6438bc45c508e89e8eb3 Mon Sep 17 00:00:00 2001 From: ShiinaRinne <45081750+ShiinaRinne@users.noreply.github.com> Date: Wed, 29 Jan 2025 18:01:32 +0800 Subject: [PATCH] [macOS] hide icon in Dock --- v2rayN/v2rayN.Desktop/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN.Desktop/Program.cs b/v2rayN/v2rayN.Desktop/Program.cs index 5d1c6493..3039895c 100644 --- a/v2rayN/v2rayN.Desktop/Program.cs +++ b/v2rayN/v2rayN.Desktop/Program.cs @@ -52,5 +52,6 @@ internal class Program //.WithInterFont() .WithFontByDefault() .LogToTrace() - .UseReactiveUI(); + .UseReactiveUI() + .With(new MacOSPlatformOptions { ShowInDock = false}); } \ No newline at end of file