From 97c01c70b3904560363a3848433bf5889c3313a8 Mon Sep 17 00:00:00 2001 From: Gykes <24581046+Gykes@users.noreply.github.com> Date: Thu, 27 Nov 2025 18:48:23 -0600 Subject: [PATCH] update mac notification (#6329) --- internal/desktop/systray_nonlinux.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/desktop/systray_nonlinux.go b/internal/desktop/systray_nonlinux.go index 450e503ea..dab6d4dc2 100644 --- a/internal/desktop/systray_nonlinux.go +++ b/internal/desktop/systray_nonlinux.go @@ -3,6 +3,7 @@ package desktop import ( + "runtime" "strings" "github.com/kermieisinthehouse/systray" @@ -20,7 +21,12 @@ func startSystray(exit chan int, faviconProvider FaviconProvider) { // system is started from a non-terminal method, e.g. double-clicking an icon. c := config.GetInstance() if c.GetShowOneTimeMovedNotification() { - SendNotification("Stash has moved!", "Stash now runs in your tray, instead of a terminal window.") + // Use platform-appropriate terminology + location := "tray" + if runtime.GOOS == "darwin" { + location = "menu bar" + } + SendNotification("Stash has moved!", "Stash now runs in your "+location+", instead of a terminal window.") c.SetBool(config.ShowOneTimeMovedNotification, false) if err := c.Write(); err != nil { logger.Errorf("Error while writing configuration file: %v", err)