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

7
cmd/panel/icon_other.go Normal file
View File

@@ -0,0 +1,7 @@
//go:build !windows
package main
import "unsafe"
func setWindowIcon(windowPtr unsafe.Pointer) {}