data

package
v0.0.0-...-d4a53d9 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Backups       pathways.AbsDir = "backups"
	Metadata      pathways.AbsDir = "metadata"
	Downloads     pathways.AbsDir = "downloads"
	Runtimes      pathways.AbsDir = "runtimes"
	InstalledApps pathways.AbsDir = "installed-apps"
)
View Source
const (
	Redux            pathways.RelDir = "_redux"
	ProductDetails   pathways.RelDir = "product-details"
	InstalledDetails pathways.RelDir = "installed-details"
	MacOsExtracts    pathways.RelDir = "_macos_extracts"
	GitHubReleases   pathways.RelDir = "github-releases"
	Assets           pathways.RelDir = "assets"
	Binaries         pathways.RelDir = "binaries"
	PrefixArchive    pathways.RelDir = "prefix-archive"
	UmuConfigs       pathways.RelDir = "umu-configs"
	Inventory        pathways.RelDir = "_inventory"
)
View Source
const (
	ServerConnectionProperties = "server-connection"

	ServerProtocolProperty = "server-protocol"
	ServerAddressProperty  = "server-address"
	ServerPortProperty     = "server-port"
	ServerUsernameProperty = "server-username"
	ServerPasswordProperty = "server-password"

	BundleNameProperty = "bundle-name"

	PrefixEnvProperty     = "prefix-env"
	PrefixExePathProperty = "prefix-exe-path"

	GitHubReleasesUpdatedProperty = "github-releases-updated"

	InstallParametersProperty = "install-parameters"
	KeepDownloadsProperty     = "keep-downloads"
	NoSteamShortcutProperty   = "no-steam-shortcut"

	InstallDateProperty = "install-date"
	LastRunDateProperty = "last-run-date"
)
View Source
const (
	ApiHealthPath            = "/api/health"
	ApiHealthAuthPath        = "/api/health-auth"
	ApiProductDetailsPath    = "/api/product-details"
	ApiGitHubReleasesPath    = "/api/github-releases"
	ApiGitHubLatestAssetPath = "/api/github-latest-asset"
	ServerFilesPath          = "/files"
	ServerImagePath          = "/image"
)

Variables

Functions

func AllProperties

func AllProperties() []string

func GetAbsBinariesDir

func GetAbsBinariesDir(repo string, release *github_integration.GitHubRelease) (string, error)

func GetAbsBundlePath

func GetAbsBundlePath(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)

func GetAbsInventoryFilename

func GetAbsInventoryFilename(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)

func GetAbsPrefixDir

func GetAbsPrefixDir(id, langCode string, rdx redux.Readable) (string, error)

func GetAbsReleaseAssetPath

func GetAbsReleaseAssetPath(repo string, release *github_integration.GitHubRelease, asset *github_integration.GitHubAsset) (string, error)

func GetAbsReleasesDir

func GetAbsReleasesDir(repo string, release *github_integration.GitHubRelease) (string, error)

func GetPrefixName

func GetPrefixName(id string, rdx redux.Readable) (string, error)

func GetRelFilesModifiedAfter

func GetRelFilesModifiedAfter(absDir string, utcTime int64) ([]string, error)

func InitRootDir

func InitRootDir() (string, error)

func OsLangCode

func OsLangCode(operatingSystem vangogh_integration.OperatingSystem, langCode string) string

func ServerUrl

func ServerUrl(rdx redux.Readable, path string, params map[string]string) (*url.URL, error)

func TheoExecutable

func TheoExecutable() (string, error)

func UmuProtonLatestReleasePath

func UmuProtonLatestReleasePath() (string, error)

func UmuRunLatestReleasePath

func UmuRunLatestReleasePath() (string, error)

func UserDataHomeDir

func UserDataHomeDir() (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