diff --git a/internal/desktop/desktop_platform_nixes.go b/internal/desktop/desktop_platform_nixes.go index 082eef17e2c..69c780d3c9c 100644 --- a/internal/desktop/desktop_platform_nixes.go +++ b/internal/desktop/desktop_platform_nixes.go @@ -1,5 +1,5 @@ -//go:build linux || freebsd -// +build linux freebsd +//go:build unix && !darwin +// +build unix,!darwin package desktop diff --git a/internal/desktop/systray_nixes.go b/internal/desktop/systray_nixes.go index cea2f23da44..b76bcae0cd0 100644 --- a/internal/desktop/systray_nixes.go +++ b/internal/desktop/systray_nixes.go @@ -1,5 +1,5 @@ -//go:build linux || freebsd -// +build linux freebsd +//go:build !windows && !darwin +// +build !windows,!darwin package desktop