| 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 |