mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-10 01:53:49 +00:00
client/systray: move cmd/systray to client/systray
Updates #1708 Change-Id: Ia101a4a3005adb9118051b3416f5a64a4a45987d Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
parent
041622c92f
commit
82e99fcf84
@ -3,7 +3,7 @@
|
||||
|
||||
//go:build cgo || !darwin
|
||||
|
||||
package main
|
||||
package systray
|
||||
|
||||
import (
|
||||
"bytes"
|
@ -3,8 +3,8 @@
|
||||
|
||||
//go:build cgo || !darwin
|
||||
|
||||
// The systray command is a minimal Tailscale systray application for Linux.
|
||||
package main
|
||||
// Package systray provides a minimal Tailscale systray application.
|
||||
package systray
|
||||
|
||||
import (
|
||||
"context"
|
||||
@ -44,8 +44,8 @@ var (
|
||||
hideMullvadCities bool
|
||||
)
|
||||
|
||||
func main() {
|
||||
menu := new(Menu)
|
||||
// Run starts the systray menu and blocks until the menu exits.
|
||||
func (menu *Menu) Run() {
|
||||
menu.updateState()
|
||||
|
||||
// exit cleanly on SIGINT and SIGTERM
|
Loading…
x
Reference in New Issue
Block a user