updater

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2021 License: LGPL-2.1 Imports: 6 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	Provider   provider.Provider
	BinaryName string
	Version    string
}

Updater struct

func (*Updater) CanUpdate

func (u *Updater) CanUpdate() (bool, error)

CanUpdate checks if the updater found a new version

func (*Updater) Update added in v1.0.0

func (u *Updater) Update() (err error)

Update runs the updater It will update the current application if an update is found

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL