Beispiel #1
0
func main() {
	client := &fireflyClient{
		uiCh:        make(chan *uiCmd),
		exitCh:      make(chan error, 1),
		chExitFuncs: make(chan func(), 10),
	}
	systray.Run(client._main)
}
Beispiel #2
0
func main() {
	// Should be called at the very beginning of main().
	systray.Run(onReady)
}
Beispiel #3
0
func runOnSystrayReady(f func()) {
	systray.Run(f)
}