Documentation
¶
Overview ¶
Package update checks GitHub for a newer OpenDeezer release. Clients call it on startup to show a non-intrusive "update available" prompt — it never downloads or installs anything itself.
Index ¶
Constants ¶
View Source
const Repo = "Cycl0o0/OpenDeezer"
Repo is the GitHub owner/name that publishes releases.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Current string `json:"current"` // running version, e.g. "1.5.0"
Latest string `json:"latest"` // latest release, e.g. "1.5.1"
HasUpdate bool `json:"hasUpdate"` // Latest is strictly newer than Current
URL string `json:"url"` // release page to open
Notes string `json:"notes"` // release notes (trimmed)
}
Info is the result of a check.
Click to show internal directories.
Click to hide internal directories.