mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-13 12:19:54 +00:00
[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:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user