返回 DeepSeek-Reasonix
tray_supported_darwin.go
根目录 / desktop / tray_supported_darwin.go
1 //go:build darwin
2
3 package main
4
5 // systray creates the NSStatusItem (an NSWindow) on the calling goroutine, but
6 // Cocoa demands the main thread — which Wails owns — so the tray crashes the app
7 // at launch (#3223). macOS backgrounds via runtime.Hide + the Dock instead.
8 func traySupported() bool { return false }
9
9 lines GO