update

package
v0.0.0-...-877e9b9 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppVersion  = "unknown"
	AppOsArch   = "unknown"
	IsLegacy    = "false"
	BinaryName  = getBinaryName()
	ArchiveName = fmt.Sprintf("%s.tar.gz", BinaryName)
	UpdateURL   = fmt.Sprintf("https://github.com/arkag/dirclean/releases/download/%%s/%s", ArchiveName)
	ChecksumURL = "https://github.com/arkag/dirclean/releases/download/%s/checksums.txt"
	BinaryExt   = ""
)

Functions

func GetLatestVersion

func GetLatestVersion() (string, error)

func UpdateBinary

func UpdateBinary(tag string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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