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" 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 ¶
View Source
var AllAbsDirs = []pathways.AbsDir{ Backups, Metadata, Downloads, Runtimes, InstalledApps, }
View Source
var RelToAbsDirs = map[pathways.RelDir]pathways.AbsDir{ Redux: Metadata, ProductDetails: Metadata, InstalledDetails: Metadata, GitHubReleases: Metadata, Assets: Runtimes, Binaries: Runtimes, PrefixArchive: Backups, MacOsExtracts: Downloads, UmuConfigs: Runtimes, Inventory: InstalledApps, }
Functions ¶
func AllProperties ¶
func AllProperties() []string
func CurrentOs ¶
func CurrentOs() vangogh_integration.OperatingSystem
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 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 InitRootDir ¶
func OsLangCode ¶
func OsLangCode(operatingSystem vangogh_integration.OperatingSystem, langCode string) string
func TheoExecutable ¶
func UmuRunLatestReleasePath ¶
func UserDataHomeDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.