Documentation
¶
Index ¶
- Constants
- Variables
- func AllProperties() []string
- func CurrentOs() vangogh_integration.OperatingSystem
- func GetAbsBinariesDir(repo string, release *github_integration.GitHubRelease) (string, error)
- func GetAbsBundlePath(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, ...) (string, error)
- func GetAbsInventoryFilename(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, ...) (string, error)
- func GetAbsPrefixDir(id, langCode string, rdx redux.Readable) (string, error)
- func GetAbsReleaseAssetPath(repo string, release *github_integration.GitHubRelease, ...) (string, error)
- func GetAbsReleasesDir(repo string, release *github_integration.GitHubRelease) (string, error)
- func GetPrefixName(id string, rdx redux.Readable) (string, error)
- func GetRelFilesModifiedAfter(absDir string, utcTime int64) ([]string, error)
- func InitRootDir() (string, error)
- func OsLangCode(operatingSystem vangogh_integration.OperatingSystem, langCode string) string
- func ServerUrl(rdx redux.Readable, path string, params map[string]string) (*url.URL, error)
- func TheoExecutable() (string, error)
- func UmuProtonLatestReleasePath() (string, error)
- func UmuRunLatestReleasePath() (string, error)
- func UserDataHomeDir() (string, error)
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" DownloadsManifests pathways.RelDir = "downloads-manifests" InstalledManifests pathways.RelDir = "installed-manifests" 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" TitleProperty = "title" SlugProperty = "slug" 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 ( ServerHealthPath = "/api/health" ServerHealthAuthPath = "/api/health-auth" ServerDownloadsManifestPath = "/api/downloads-manifest" ServerGitHubReleasesPath = "/api/github-releases" ServerGitHubLatestAssetPath = "/api/github-latest-asset" ServerFilesPath = "/files" ServerImagePath = "/image" )
Variables ¶
View Source
var AllAbsDirs = []pathways.AbsDir{ Backups, Metadata, Downloads, Runtimes, InstalledApps, }
View Source
var RelToAbsDirs = map[pathways.RelDir]pathways.AbsDir{ Redux: Metadata, DownloadsManifests: Metadata, InstalledManifests: Metadata, GitHubReleases: Metadata, Assets: Runtimes, Binaries: Runtimes, PrefixArchive: Backups, MacOsExtracts: Downloads, UmuConfigs: Runtimes, Inventory: InstalledApps, }
Functions ¶
func AllProperties ¶ added in v0.1.19
func AllProperties() []string
func CurrentOs ¶ added in v0.1.86
func CurrentOs() vangogh_integration.OperatingSystem
func GetAbsBinariesDir ¶ added in v0.1.24
func GetAbsBinariesDir(repo string, release *github_integration.GitHubRelease) (string, error)
func GetAbsBundlePath ¶ added in v0.2.9
func GetAbsBundlePath(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)
func GetAbsInventoryFilename ¶ added in v0.2.31
func GetAbsInventoryFilename(id, langCode string, operatingSystem vangogh_integration.OperatingSystem, rdx redux.Readable) (string, error)
func GetAbsPrefixDir ¶ added in v0.1.29
func GetAbsReleaseAssetPath ¶ added in v0.1.24
func GetAbsReleaseAssetPath(repo string, release *github_integration.GitHubRelease, asset *github_integration.GitHubAsset) (string, error)
func GetAbsReleasesDir ¶ added in v0.1.24
func GetAbsReleasesDir(repo string, release *github_integration.GitHubRelease) (string, error)
func GetPrefixName ¶ added in v0.1.69
func GetRelFilesModifiedAfter ¶ added in v0.2.8
func InitRootDir ¶
func OsLangCode ¶ added in v0.2.5
func OsLangCode(operatingSystem vangogh_integration.OperatingSystem, langCode string) string
func TheoExecutable ¶ added in v0.1.55
func UmuProtonLatestReleasePath ¶ added in v0.1.89
func UmuRunLatestReleasePath ¶ added in v0.1.86
func UserDataHomeDir ¶ added in v0.1.42
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.