updater

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: LGPL-2.1 Imports: 7 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) Run

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

Run 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