tailscale/clientupdate
Andrew Lytvynov 59d1077e28
clientupdate: cleanup tailscale binary copies on Windows (#10433)
When updating on Windows, we make a copy of the tailscale.exe file in a
temp directory to perform the update, because the original tailscale.exe
gets deleted during the update.

This can eat up disk space if a machine is stuck doing repeated failed
update attempts. Clean up old copies explicitly before making a new one,
same as we do with MSIs.

Updates #10082

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2023-11-30 12:22:29 -08:00
..
distsign clientupdate/distsign: add new prod root signing key to keychain 2023-10-11 09:20:17 -07:00
testdata clientupdate: implement update for Unraid (#10344) 2023-11-28 13:28:30 -08:00
clientupdate_test.go clientupdate: implement update for Unraid (#10344) 2023-11-28 13:28:30 -08:00
clientupdate_windows.go clientupdate: fix auto-update on Windows over RDP (#10242) 2023-11-14 17:21:03 -08:00
clientupdate.go clientupdate: cleanup tailscale binary copies on Windows (#10433) 2023-11-30 12:22:29 -08: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