tailscale/clientupdate
Andrew Lytvynov 593c086866
clientupdate: distinguish when auto-updates are possible (#9896)
clientupdate.Updater will have a non-nil Update func in a few cases
where it doesn't actually perform an update:
* on Arch-like distros, where it prints instructions on how to update
* on macOS app store version, where it opens the app store page

Add a new clientupdate.Arguments field to cause NewUpdater to fail when
we hit one of these cases. This results in c2n updates being "not
supported" and `tailscale set --auto-update` returning an error.

Updates #755

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2023-10-23 18:21:54 -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: distinguish when auto-updates are possible (#9896) 2023-10-23 18:21:54 -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