tailscale/clientupdate
Andrew Lytvynov e561f1ce61
clientupdate: manually restart Windows GUI after update (#9906)
When updating via c2n, `tailscale.exe update` runs from `tailscaled.exe`
which runs as SYSTEM. The MSI installer does not start the GUI when
running as SYSTEM. This results in Tailscale just existing on
auto-update, which is ungood.

Instead, always ask the MSI installer to not launch the GUI (via
`TS_NOLAUNCH` argument) and launch it manually with a token from the
current logged in user. The token code was borrowed from
d9081d6ba2/net/dns/wsl_windows.go (L207-L232)

Also, make some logging changes so that these issues are easier to debug
in the future.

Updates #755

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2023-10-23 10:24:57 -07:00
..
distsign clientupdate/distsign: add new prod root signing key to keychain 2023-10-11 09:20:17 -07:00
clientupdate_test.go clientupdate: change Mac App Store support (#9891) 2023-10-20 08:58:41 -07:00
clientupdate_windows.go clientupdate: manually restart Windows GUI after update (#9906) 2023-10-23 10:24:57 -07:00
clientupdate.go clientupdate: manually restart Windows GUI after update (#9906) 2023-10-23 10:24:57 -07:00
systemd_linux.go clientupdate: add linux tarball updates (#9144) 2023-08-30 17:25:06 -06:00
systemd_other.go clientupdate: add linux tarball updates (#9144) 2023-08-30 17:25:06 -06:00