stash/internal/desktop/systray_nixes.go

12 lines
518 B
Go
Raw Normal View History

2023-10-22 21:20:41 +00:00
//go:build (!windows && !darwin) || !cgo
package desktop
2023-12-02 15:44:20 +00:00
func startSystray(exit chan int, favicon FaviconProvider) {
2023-10-22 21:20:41 +00:00
// The systray is not available on Linux because the required libraries (libappindicator3 and gtk+3.0)
// are not able to be statically compiled. Technically, the systray works perfectly fine when dynamically
// linked, but we cannot distribute it for compatibility reasons.
2023-10-22 21:20:41 +00:00
// Additionally, the systray package requires CGo so the dependency cannot be used if building with
// CGo disabled.
}