feature/clientupdate: windows update should use tailscale.exe update (#19438)

Currently, clientupdate.NewUpdater().Update() is called directly inside tailscaled, which fatals. There is also a failure that doesn't return, causing a panic.

This fix allows us to use the same approach as startAutoUpdate, which is to find tailscale.exe and run tailscale.exe --update, though since it's calling the updater library directly, we get progress messages.

Fixes tailscale/corp#40430s

Signed-off-by: kari-ts <kari@tailscale.com>
This commit is contained in:
kari-ts
2026-04-17 10:28:35 -07:00
committed by GitHub
parent b239e92eb6
commit 8dda62cc24
2 changed files with 26 additions and 7 deletions
+1
View File
@@ -163,6 +163,7 @@ func (e *extension) DoSelfUpdate() {
})
if err != nil {
e.pushSelfUpdateProgress(ipnstate.NewUpdateProgress(ipnstate.UpdateFailed, err.Error()))
return
}
err = up.Update()
if err != nil {