Documentation
¶
Overview ¶
Package updater checks for signed Growse release artifacts and installs a verified executable update for the current platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentVersion = "dev"
CurrentVersion is replaced with a release tag by scripts/package-gui.sh. Development builds intentionally never offer an update.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager checks and installs Growse releases.
func New ¶
func New() *Manager
New returns a production updater. An unavailable executable path disables it safely by making Check return no update.
func NewWithOptions ¶
NewWithOptions returns an updater configured for tests or production.
Click to show internal directories.
Click to hide internal directories.