Documentation
¶
Overview ¶
Package desktop posts a best-effort desktop notification through github.com/simtabi/go-notifykit, so a banner says "authama" with authama's icon instead of "Script Editor", and nothing reaches the screen under `go test` or in CI. Notify keeps its old contract: false means nothing was delivered.
Index ¶
Constants ¶
const AppID = "com.simtabi.authama"
AppID is the identifier macOS lists authama's notifications under (System Settings > Notifications), with ".notifier" appended by notifykit.
Variables ¶
This section is empty.
Functions ¶
func IconPNG ¶ added in v0.1.6
func IconPNG() []byte
IconPNG is the logo mark as a 1024px PNG, drawn once per process.
func NewNotifier ¶ added in v0.1.6
NewNotifier returns the notifier every authama surface shares: the one-shot alert, `authama notify send|ping|doctor`, and the listener `authama serve` runs. AUTHAMA_NOTIFICATIONS=off turns it off, as it always has. go-notifykit reads its own switches too (the EnvPrefix below, then NOTIFYKIT_DESKTOP); they are documented in docs/tools/expiry.md rather than in envnames, which lists only what authama itself reads.
Types ¶
This section is empty.