[client/ui] Tray menu opens on click; hide window at startup

Left-click on the tray icon now opens the menu on every platform — the
window is reached through a new "Open NetBird" entry. Only the action
that matches the current daemon state is shown: Connect when
disconnected, Disconnect when connected. The main window starts hidden
and is only surfaced via the tray, single-instance launch, or daemon
events.
This commit is contained in:
Zoltan Papp
2026-05-11 12:01:46 +02:00
parent 09052949a2
commit 7f560df9be
2 changed files with 21 additions and 46 deletions

View File

@@ -118,7 +118,7 @@ func main() {
Title: "NetBird",
Width: 960,
Height: 640,
Hidden: false,
Hidden: true,
BackgroundColour: application.NewRGB(24, 26, 29),
URL: "/",
Mac: application.MacWindow{