Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OfflineDir string
OfflineDir, when set, makes EnsureInstalled copy binaries from this directory instead of downloading. Used for SCP/offline installs.
Functions ¶
func CheckUpdate ¶
CheckUpdate checks GitHub releases for a newer version.
func EnsureInstalled ¶
EnsureInstalled checks if a binary exists. If not, copies from OfflineDir (if set) or downloads from GitHub releases.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.