Documentation ¶
Index ¶
- Constants
- Variables
- func AllProperties() []string
- func CurrentOS() vangogh_local_data.OperatingSystem
- func GetAbsBinariesDir(ghs *GitHubSource, release *github_integration.GitHubRelease) (string, error)
- func GetAbsPrefixDir(name string) (string, error)
- func GetAbsReleaseAssetPath(ghs *GitHubSource, release *github_integration.GitHubRelease, ...) (string, error)
- func GetAbsReleasesDir(ghs *GitHubSource, release *github_integration.GitHubRelease) (string, error)
- func GetWineBinary(os vangogh_local_data.OperatingSystem, releaseSelector *GitHubReleaseSelector) (string, error)
- func InitGitHubSources() error
- func InitRootDir() (string, error)
- func InitWinePrefix(wcx *WineContext) error
- func OsLangCodeDir(os vangogh_local_data.OperatingSystem, langCode string) string
- func RegeditWinePrefix(wcx *WineContext, absRegPath string) error
- func SelectAsset(ghs *GitHubSource, release *github_integration.GitHubRelease) *github_integration.GitHubAsset
- func SelectReleases(ghs *GitHubSource, releases []github_integration.GitHubRelease, ...) []github_integration.GitHubRelease
- func TheoExecutable() (string, error)
- func UpdateWinePrefix(wcx *WineContext) error
- func UserDataHomeDir() (string, error)
- func VangoghUrl(rdx kevlar.ReadableRedux, path string, params map[string]string) (*url.URL, error)
- type GitHubReleaseSelector
- type GitHubSource
- func GetDxVkSource(os vangogh_local_data.OperatingSystem, owner, repo string) (*GitHubSource, error)
- func GetDxVkSourceRelease(os vangogh_local_data.OperatingSystem, releaseSelector *GitHubReleaseSelector) (*GitHubSource, *github_integration.GitHubRelease, error)
- func GetFirstDxVkSource(os vangogh_local_data.OperatingSystem) (*GitHubSource, error)
- func LoadDxVkSources() ([]*GitHubSource, error)
- func LoadGitHubSources() ([]*GitHubSource, error)
- type WineContext
- type WineGitHubSource
- func GetDefaultWineSource(os vangogh_local_data.OperatingSystem) (*WineGitHubSource, error)
- func GetWineSource(os vangogh_local_data.OperatingSystem, owner, repo string) (*WineGitHubSource, error)
- func GetWineSourceRelease(os vangogh_local_data.OperatingSystem, releaseSelector *GitHubReleaseSelector) (*WineGitHubSource, *github_integration.GitHubRelease, error)
- func LoadWineSources() ([]*WineGitHubSource, error)
Constants ¶
View Source
const ( Backups pathways.AbsDir = "backups" Metadata pathways.AbsDir = "metadata" Downloads pathways.AbsDir = "downloads" Cellars pathways.AbsDir = "cellars" GitHubSources pathways.AbsDir = "github-sources" InstalledApps pathways.AbsDir = "installed-apps" )
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" Releases pathways.RelDir = "rel" Binaries pathways.RelDir = "bin" Prefixes pathways.RelDir = "pfx" PrefixArchive pathways.RelDir = "pfx-archive" )
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" GitHubOwnerProperty = "owner" GitHubRepoProperty = "repo" GitHubTagProperty = "tag" GitHubAllReleasesProperty = "all" GitHubReleasesUpdatedProperty = "github-releases-updated" )
View Source
const ( VangoghHealthPath = "/api/health" VangoghHealthAuthPath = "/api/health-auth" VangoghTheoMetadataPath = "/api/metadata" VangoghFilesPath = "/files" VangoghImagePath = "/image" )
View Source
const (
RelPfxDriveCDir = "drive_c"
)
Variables ¶
View Source
var AllAbsDirs = []pathways.AbsDir{ Backups, Metadata, Downloads, Cellars, GitHubSources, InstalledApps, }
View Source
var RelToAbsDirs = map[pathways.RelDir]pathways.AbsDir{ Redux: Metadata, TheoMetadata: Metadata, InstalledMetadata: Metadata, GitHubReleases: Metadata, Releases: Cellars, Binaries: Cellars, Prefixes: Cellars, PrefixArchive: Backups, MacOsExtracts: Downloads, }
Functions ¶
func AllProperties ¶ added in v0.1.19
func AllProperties() []string
func CurrentOS ¶ added in v0.1.42
func CurrentOS() vangogh_local_data.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 GetWineBinary ¶ added in v0.1.27
func GetWineBinary(os vangogh_local_data.OperatingSystem, releaseSelector *GitHubReleaseSelector) (string, error)
func InitGitHubSources ¶ added in v0.1.28
func InitGitHubSources() error
func InitRootDir ¶
func InitWinePrefix ¶ added in v0.1.27
func InitWinePrefix(wcx *WineContext) error
func OsLangCodeDir ¶ added in v0.1.31
func OsLangCodeDir(os vangogh_local_data.OperatingSystem, langCode string) string
func RegeditWinePrefix ¶ added in v0.1.29
func RegeditWinePrefix(wcx *WineContext, absRegPath string) error
func SelectAsset ¶ added in v0.1.27
func SelectAsset(ghs *GitHubSource, release *github_integration.GitHubRelease) *github_integration.GitHubAsset
func SelectReleases ¶ added in v0.1.27
func SelectReleases(ghs *GitHubSource, releases []github_integration.GitHubRelease, selector *GitHubReleaseSelector) []github_integration.GitHubRelease
func TheoExecutable ¶ added in v0.1.55
func UpdateWinePrefix ¶ added in v0.1.27
func UpdateWinePrefix(wcx *WineContext) error
func UserDataHomeDir ¶ added in v0.1.42
func VangoghUrl ¶ added in v0.1.1
Types ¶
type GitHubReleaseSelector ¶ added in v0.1.27
func ReleaseSelectorFromUrl ¶ added in v0.1.27
func ReleaseSelectorFromUrl(u *url.URL) *GitHubReleaseSelector
type GitHubSource ¶ added in v0.1.24
type GitHubSource struct { OS vangogh_local_data.OperatingSystem Owner string Repo string Description string AssetInclude []string AssetExclude []string }
func GetDxVkSource ¶ added in v0.1.29
func GetDxVkSource(os vangogh_local_data.OperatingSystem, owner, repo string) (*GitHubSource, error)
func GetDxVkSourceRelease ¶ added in v0.1.29
func GetDxVkSourceRelease(os vangogh_local_data.OperatingSystem, releaseSelector *GitHubReleaseSelector) (*GitHubSource, *github_integration.GitHubRelease, error)
func GetFirstDxVkSource ¶ added in v0.1.29
func GetFirstDxVkSource(os vangogh_local_data.OperatingSystem) (*GitHubSource, error)
func LoadDxVkSources ¶ added in v0.1.29
func LoadDxVkSources() ([]*GitHubSource, error)
func LoadGitHubSources ¶ added in v0.1.28
func LoadGitHubSources() ([]*GitHubSource, error)
func (*GitHubSource) String ¶ added in v0.1.24
func (ghs *GitHubSource) String() string
type WineContext ¶ added in v0.1.27
type WineGitHubSource ¶ added in v0.1.27
type WineGitHubSource struct { *GitHubSource BinaryPath string Default bool }
func GetDefaultWineSource ¶ added in v0.1.28
func GetDefaultWineSource(os vangogh_local_data.OperatingSystem) (*WineGitHubSource, error)
func GetWineSource ¶ added in v0.1.27
func GetWineSource(os vangogh_local_data.OperatingSystem, owner, repo string) (*WineGitHubSource, error)
func GetWineSourceRelease ¶ added in v0.1.27
func GetWineSourceRelease(os vangogh_local_data.OperatingSystem, releaseSelector *GitHubReleaseSelector) (*WineGitHubSource, *github_integration.GitHubRelease, error)
func LoadWineSources ¶ added in v0.1.28
func LoadWineSources() ([]*WineGitHubSource, error)
Click to show internal directories.
Click to hide internal directories.