client/systray: add installer for a freedesktop autostart file (#18767)

Adds freedesktop as an option for installing autostart desktop files for
starting the systray application.

Fixes #18766

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
This commit is contained in:
Claus Lensbøl
2026-02-26 12:59:45 -05:00
committed by GitHub
parent da90ea664d
commit 5ac35b665b
8 changed files with 358 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func systrayConfigCmd() *ffcli.Command {
FlagSet: (func() *flag.FlagSet {
fs := newFlagSet("systray")
fs.StringVar(&systrayArgs.initSystem, "enable-startup", "",
"Install startup script for init system. Currently supported systems are [systemd].")
"Install startup script for init system. Currently supported systems are [systemd, freedesktop].")
return fs
})(),
}
+1
View File
@@ -157,6 +157,7 @@ tailscale.com/cmd/tailscale dependencies: (generated by github.com/tailscale/dep
software.sslmate.com/src/go-pkcs12/internal/rc2 from software.sslmate.com/src/go-pkcs12
tailscale.com from tailscale.com/version
💣 tailscale.com/atomicfile from tailscale.com/cmd/tailscale/cli+
L tailscale.com/client/freedesktop from tailscale.com/client/systray
tailscale.com/client/local from tailscale.com/client/tailscale+
L tailscale.com/client/systray from tailscale.com/cmd/tailscale/cli
tailscale.com/client/tailscale from tailscale.com/internal/client/tailscale