Add self upgrade and notifications to updates module

This commit is contained in:
Daniel
2019-03-09 23:05:25 +01:00
parent 416fea1f17
commit e07a2a058a
3 changed files with 158 additions and 0 deletions

View File

@@ -31,6 +31,11 @@ func prep() error {
return err
}
err = upgradeByFlag()
if err != nil {
return err
}
return nil
}
@@ -46,6 +51,7 @@ func start() error {
}
go updater()
go updateNotifier()
return nil
}