fix(GODT-3094): Clean up old update files on bridge startup.

This commit is contained in:
Romain LE JEUNE
2023-11-02 10:43:55 +01:00
parent 1ac4e70115
commit 6cb233473a
6 changed files with 24 additions and 3 deletions

View File

@ -53,4 +53,5 @@ type Autostarter interface {
type Updater interface {
GetVersionInfo(context.Context, updater.Downloader, updater.Channel) (updater.VersionInfo, error)
InstallUpdate(context.Context, updater.Downloader, updater.VersionInfo) error
RemoveOldUpdates() error
}