[GODT-274] GUI changes for autoupdates

[GODT-275] Add enable/disable auto updates GUI option

Refactor Updater module
GODT-805 Changed manual update information bar layout
GODT-806, GODT-875 Change update dialogs
Refactor InformationBar
This commit is contained in:
Alexander Bilyak
2020-11-10 08:09:17 +00:00
committed by James Houlahan
parent b7b2297635
commit 98ab794f13
34 changed files with 1069 additions and 612 deletions

View File

@ -30,13 +30,13 @@ import (
"github.com/pkg/errors"
)
type Installer struct{}
type InstallerDarwin struct{}
func NewInstaller(*versioner.Versioner) *Installer {
return &Installer{}
func NewInstaller(*versioner.Versioner) *InstallerDarwin {
return &InstallerDarwin{}
}
func (i *Installer) InstallUpdate(_ *semver.Version, r io.Reader) error {
func (i *InstallerDarwin) InstallUpdate(_ *semver.Version, r io.Reader) error {
gr, err := gzip.NewReader(r)
if err != nil {
return err