Documentation ¶
Index ¶
- Constants
- Variables
- func AllProperties() []string
- func CurrentOs() vangogh_integration.OperatingSystem
- func GetAbsBinariesDir(ghs *GitHubSource, release *github_integration.GitHubRelease) (string, error)
- func GetAbsPrefixDir(id, langCode string) (string, error)
- func GetAbsReleaseAssetPath(ghs *GitHubSource, release *github_integration.GitHubRelease, ...) (string, error)
- func GetAbsReleasesDir(ghs *GitHubSource, release *github_integration.GitHubRelease) (string, error)
- func GetPrefixName(id, langCode string) string
- func InitRootDir() (string, error)
- func OsLangCodeDir(os vangogh_integration.OperatingSystem, langCode string) string
- func TheoExecutable() (string, error)
- func UmuProtonLatestReleasePath() (string, error)
- func UmuRunLatestReleasePath() (string, error)
- func UserDataHomeDir() (string, error)
- func VangoghUrl(rdx kevlar.ReadableRedux, path string, params map[string]string) (*url.URL, error)
- type GitHubSource
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" Prefixes pathways.AbsDir = "prefixes" )
View Source
const ( Redux pathways.RelDir = "_redux" TheoMetadata pathways.RelDir = "theo" InstalledMetadata pathways.RelDir = "installed" 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" )
View Source
const ( SetupProperties = "setup" VangoghProtocolProperty = "vangogh-protocol" VangoghAddressProperty = "vangogh-address" VangoghPortProperty = "vangogh-port" VangoghUsernameProperty = "vangogh-username" VangoghPasswordProperty = "vangogh-password" BundleNameProperty = "bundle-name" TitleProperty = "title" SlugProperty = "slug" PrefixEnvProperty = "prefix-env" PrefixExePathProperty = "prefix-exe-path" GitHubReleasesUpdatedProperty = "github-releases-updated" )
View Source
const ( VangoghHealthPath = "/api/health" VangoghHealthAuthPath = "/api/health-auth" VangoghTheoMetadataPath = "/api/metadata" VangoghFilesPath = "/files" VangoghImagePath = "/image" )
Variables ¶
View Source
var AllAbsDirs = []pathways.AbsDir{ Backups, Metadata, Downloads, Runtimes, InstalledApps, Prefixes, }
View Source
var RelToAbsDirs = map[pathways.RelDir]pathways.AbsDir{ Redux: Metadata, TheoMetadata: Metadata, InstalledMetadata: Metadata, GitHubReleases: Metadata, Assets: Runtimes, Binaries: Runtimes, PrefixArchive: Backups, MacOsExtracts: Downloads, UmuConfigs: Runtimes, }
View Source
var UmuLauncher = &GitHubSource{
OwnerRepo: "Open-Wine-Components/umu-launcher",
Asset: "Zipapp.zip",
}
View Source
var UmuProton = &GitHubSource{
OwnerRepo: "Open-Wine-Components/umu-proton",
Asset: ".tar.gz",
}
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(ghs *GitHubSource, release *github_integration.GitHubRelease) (string, error)
func GetAbsPrefixDir ¶ added in v0.1.29
func GetAbsReleaseAssetPath ¶ added in v0.1.24
func GetAbsReleaseAssetPath(ghs *GitHubSource, release *github_integration.GitHubRelease, asset *github_integration.GitHubAsset) (string, error)
func GetAbsReleasesDir ¶ added in v0.1.24
func GetAbsReleasesDir(ghs *GitHubSource, release *github_integration.GitHubRelease) (string, error)
func GetPrefixName ¶ added in v0.1.69
func InitRootDir ¶
func OsLangCodeDir ¶ added in v0.1.31
func OsLangCodeDir(os 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
func VangoghUrl ¶ added in v0.1.1
Types ¶
type GitHubSource ¶ added in v0.1.24
func OsGitHubSources ¶ added in v0.1.86
func OsGitHubSources(os vangogh_integration.OperatingSystem) []*GitHubSource
func (*GitHubSource) GetAsset ¶ added in v0.1.86
func (ghs *GitHubSource) GetAsset(release *github_integration.GitHubRelease) *github_integration.GitHubAsset
func (*GitHubSource) GetLatestRelease ¶ added in v0.1.86
func (ghs *GitHubSource) GetLatestRelease() (*github_integration.GitHubRelease, error)
Click to show internal directories.
Click to hide internal directories.