Skip to content

feat(tray): add ICO status icons for Windows system tray menu items - #1

Merged
DarkGenius merged 1 commit into
mainfrom
windows-tray-icons
Oct 5, 2025
Merged

DarkGenius merged 1 commit into
mainfrom
windows-tray-icons

Conversation

@DarkGenius

Copy link
Copy Markdown
Owner

Summary

Replaced emoji-based status indicators with native Windows ICO icons for better visual appearance in the system tray menu. Windows renders emoji as monochrome in system tray menus, so this change provides proper colored icons for server status and quarantine indicators.

Changes

  1. Icon Files: Added ICO format status icons for Windows compatibility:

    • assets/status/green-circle.ico - Connected server status
    • assets/status/red-circle.ico - Disconnected server status
    • assets/status/pause.ico - Paused/disabled server status
    • assets/status/locked.ico - Quarantined server status
  2. Code Updates in internal/tray/managers.go:

    • Updated icon file paths from .png to .ico format
    • Modified getServerStatusDisplay() to load and return icon data for Windows
    • Updated upstream server menu items to display icons instead of emoji on Windows
    • Added icon support to quarantine menu items for consistent appearance
    • Platform detection: Windows uses icons, macOS/Linux continue using emoji

Visual Impact

Before: Emoji indicators (🟢🔴⏸️🔒) rendered as monochrome in Windows system tray
After: Proper colored ICO icons displayed natively in Windows system tray menus

Other platforms (macOS, Linux) retain emoji-based indicators as they render correctly.

@DarkGenius
DarkGenius merged commit 92fa9c2 into main Oct 5, 2025
@DarkGenius
DarkGenius deleted the windows-tray-icons branch October 5, 2025 17:18
DarkGenius added a commit that referenced this pull request Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant