Added parameter MacOSShowInDock to control whether MacOS platform app is displayed in the Dock

https://github.com/2dust/v2rayN/issues/7465
This commit is contained in:
2dust
2025-06-21 17:00:49 +08:00
parent f947f63e6d
commit 0d74452c6c
3 changed files with 28 additions and 18 deletions

View File

@@ -11,11 +11,6 @@ public partial class App : Application
{
public override void Initialize()
{
if (!AppHandler.Instance.InitApp())
{
Environment.Exit(0);
return;
}
AvaloniaXamlLoader.Load(this);
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;