This commit is contained in:
Anteus 2026-09-09 18:23:04 +09:00 committed by GitHub
commit 88447dc1d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -288,6 +288,12 @@ func (u *Updater) downloadAndInstall(rawUrl string) error {
return err
}
u.Log.Info("remove tarball zip file")
err = u.OSCommand.Cmd.New([]string{"rm", zipPath}).Run()
if err != nil {
return err
}
// the `tar` terminal cannot store things in a new location without permission
// so it creates it in the current directory. As such our path is fairly simple.
// You won't see it because it's gitignored.