selfupdate

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDevBuild    = errors.New("not a release build")
	ErrDocker      = errors.New("built into a Docker image")
	ErrNotWritable = errors.New("the binary's folder is not writable")
)

Functions

func CleanLeftovers

func CleanLeftovers()

func RequestRestart

func RequestRestart()

func Restart

func Restart() error

func SelfPath

func SelfPath() (string, error)

func ShouldRestart

func ShouldRestart() bool

func Updatable

func Updatable() error

func Update

func Update(current semver.Version) (*ghselfupdate.Release, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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