返回 DeepSeek-Reasonix
tray_loop_external.go
根目录 / desktop / tray_loop_external.go
1 //go:build !windows
2
3 package main
4
5 import "fyne.io/systray"
6
7 func startDesktopTray(onReady, onExit func()) func() {
8 start, end := systray.RunWithExternalLoop(onReady, onExit)
9 start()
10 return end
11 }
12
12 lines GO