update

package
v0.0.0-...-333b14f Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package update provides functionality for updating the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRepositoryVersion

func CheckRepositoryVersion() string

func CheckUpdate

func CheckUpdate() error

CheckUpdate checks if an update is available by comparing the repository version with the current version. If an update is available, it triggers the update process.

func FindConfigFile

func FindConfigFile(test bool) string

func GettingUpdate

func GettingUpdate(permission string)

GettingUpdate requests the application update and manages the update process.

Types

type Application

type Application struct {
	Application struct {
		Version string `yaml:"version"`
	} `yaml:"application"`
}

The Application represents the structure of the application version.

Jump to

Keyboard shortcuts

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