From f9acc6a2e95358d0e41bc6b10b726bc69d8e28ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Wed, 17 Jun 2026 17:24:39 +0200 Subject: [PATCH] [client] Exclude UI fallback stubs from FreeBSD build The _other.go fallback stubs in client/ui and client/ui/services matched FreeBSD, dragging the Wails-importing services package into the FreeBSD build and failing it (Wails v3 has no FreeBSD port). Add !freebsd (plus !android/!ios/!js) to align them with the rest of these packages so the whole UI is excluded on FreeBSD. --- client/ui/recenter_other.go | 2 +- client/ui/services/cursor_other.go | 2 +- client/ui/tray_watcher_other.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ui/recenter_other.go b/client/ui/recenter_other.go index 7bb4bc93a..18ffe8730 100644 --- a/client/ui/recenter_other.go +++ b/client/ui/recenter_other.go @@ -1,4 +1,4 @@ -//go:build !linux || (linux && 386) +//go:build (!linux || (linux && 386)) && !freebsd && !android && !ios && !js package main diff --git a/client/ui/services/cursor_other.go b/client/ui/services/cursor_other.go index ed9d55938..7f35ff438 100644 --- a/client/ui/services/cursor_other.go +++ b/client/ui/services/cursor_other.go @@ -1,4 +1,4 @@ -//go:build !darwin && !windows && !linux +//go:build !darwin && !windows && !linux && !freebsd && !android && !ios && !js package services diff --git a/client/ui/tray_watcher_other.go b/client/ui/tray_watcher_other.go index 409e5bcfa..ef8a1bb52 100644 --- a/client/ui/tray_watcher_other.go +++ b/client/ui/tray_watcher_other.go @@ -1,4 +1,4 @@ -//go:build !linux || (linux && 386) +//go:build (!linux || (linux && 386)) && !freebsd && !android && !ios && !js package main