updater

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2025 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const UpdateServer = "https://updates.yuv.pink/"

Variables

This section is empty.

Functions

func DoUpdate

func DoUpdate() error

func UpdateCheck added in v1.33.1

func UpdateCheck(ui ui.UI)

Types

type Update

type Update struct {
	Version string
	Sha256  string
}

func UpdateAvailable

func UpdateAvailable() (*Update, error)

type Updater added in v1.45.1

type Updater struct {
	Update *Update
}

func (*Updater) CheckUpdate added in v1.45.1

func (u *Updater) CheckUpdate()

func (*Updater) DownloadUpdate added in v1.45.1

func (u *Updater) DownloadUpdate() error

func (*Updater) InstallUpdate added in v1.45.1

func (u *Updater) InstallUpdate() error

Jump to

Keyboard shortcuts

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