AI
AIGIT · AI 工具站
aigit.cc
首页
精品推荐
AI成品工具
提示词
返回 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