2023-10-22 21:20:41 +00:00
|
|
|
//go:build (!windows && !darwin) || !cgo
|
2022-02-03 00:20:34 +00:00
|
|
|
|
|
|
|
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)
|
2022-02-03 00:20:34 +00:00
|
|
|
// 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.
|
2022-02-03 00:20:34 +00:00
|
|
|
}
|