//go:build !windows package updater import "errors" // InstallAndRestart is Windows-only: the swap helper is a batch file and the // thing being replaced is an .exe. func InstallAndRestart(downloadedExe string) error { return errors.New("in-place update is only supported on Windows") }