systemtray

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package systemtray runs the OS system tray UI for a wick-powered app: start/stop the local HTTP server and the background job worker (both in-process via cancellable goroutines), and install or uninstall the app's MCP entry into detected MCP clients (Claude Desktop, Cursor, etc).

Wired into downstream apps via the `tray` subcommand registered in app.Run(). Not a standalone main.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(projectDir, name, appVer, wickVer, commit, builtAt, repo, pat string)

Run starts the system tray and blocks until the user picks Quit. projectDir is the wick project directory (CWD where the binary lives). name is the MCP server name written into client configs (default: dir name). appVer / wickVer / commit / builtAt are the build-injected versions surfaced in the About submenu. repo ("owner/repo") and pat are injected by `wick build` for the self-updater; empty values disable it.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL