Skip to content

Commit bb6310d

Browse files
committed
Fix Windows build: add templateIconData stub for cross-platform compilation
1 parent 14f2386 commit bb6310d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/tray/icon_windows.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
package tray
44

5+
// templateIconData is unused on Windows (SetTemplateIcon falls back to regular icon)
6+
// but must be defined for cross-platform compilation
7+
var templateIconData []byte
8+
59
// iconData contains the system tray icon as ICO bytes for Windows
610
var iconData = []byte{
711

0 commit comments

Comments
 (0)