electron-tray-menu-builder

Solid

Generate system tray and context menu configurations with platform-specific icons, menu templates, and event handling

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# electron-tray-menu-builder Generate system tray and context menu configurations for Electron applications. This skill handles platform-specific icon requirements, menu template creation, and tray event handling across Windows, macOS, and Linux. ## Capabilities - Generate Tray class implementation with proper lifecycle - Create platform-specific icon sets (ICO, ICNS, PNG) - Build menu templates with submenus and separators - Handle click events (single, double, right-click) - Implement tooltip and balloon notifications - Support dynamic menu updates - Handle tray icon state changes (normal, active, highlighted) - Generate TypeScript types for menu items ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to the Electron project root" }, "menuStructure": { "type": "array", "description": "Menu item definitions", "items": { "type": "object", "properties": { "label": { "type": "string" }, "type": { "enum": ["normal", "separator", "submenu", "checkbox", "radio"] }, "accelerator": { "type": "string" }, "enabled": { "type": "boolean" }, "visible": { "type": "boolean" }, "click": { "type": "string", "description": "Handler function name" }, "submenu": { "type": "array" } } } }, "iconPaths": { "type": "object", "properties": { "default": { "typ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills