fix(desktop): preserve Windows application icon identity

This commit is contained in:
2026-11-02 20:31:27 +01:00
parent aa392815e5
commit 7e0cc92c1d
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -66,6 +66,9 @@ class Program
var app = appBuilder.Build();
// Native toast registration replaces the Windows app identity and creates host shortcuts.
// All notifications are displayed inside the application instead.
app.MainWindow.SetNotificationsEnabled(false);
app.MainWindow.StartUrl = PhotinoWebViewManager.AppBaseUri;
// Force the native window icon for title bar + taskbar representation.