Set window icon on Admin Panel (title bar + taskbar)
All checks were successful
Release / build (push) Successful in 2m34s

Embed the blue SyncWarden shield icon in the panel binary and set it
as the window icon via Win32 SendMessage/WM_SETICON on startup.
Uses the syncing (blue) variant as the status-independent panel icon.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Axel Meyer
2026-03-03 23:26:11 +01:00
parent 110bb715ff
commit 11e5c9b915
4 changed files with 96 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ func main() {
w.SetTitle("SyncWarden — Admin Panel")
w.SetSize(1024, 768, webview.HintNone)
// Set window icon (title bar + taskbar)
setWindowIcon(w.Window())
w.Navigate(*addr)
w.Run()
}