Documentation
¶
Index ¶
- Constants
- Variables
- func BackupMetadata() error
- func BackupMetadataHandler(_ *url.URL) error
- func Connect(urlStr, username, password, cookies string, origin data.Origin, reset bool) error
- func ConnectHandler(u *url.URL) error
- func Download(id string, ii *InstallInfo, originData *data.OriginData, ...) error
- func DownloadHandler(u *url.URL) error
- func FetchData(id string, ii *InstallInfo) error
- func FetchDataHandler(u *url.URL) error
- func Fix(id string, ii *InstallInfo, fx *fixes, reset bool) error
- func FixHandler(u *url.URL) error
- func Install(id string, ii *InstallInfo) error
- func InstallHandler(u *url.URL) error
- func LaunchOptions(id string, request *InstallInfo, et *execTask, reset bool) error
- func LaunchOptionsHandler(u *url.URL) error
- func List(lt listTarget, installInfo *InstallInfo, id string, update bool) error
- func ListHandler(u *url.URL) error
- func PostInstallScriptPath(productExtractsDir string, localFilename string) string
- func Prefix(id string, request *InstallInfo, mod, program, wineBinary string, et *execTask) error
- func PrefixHandler(u *url.URL) error
- func PrefixMods() []string
- func PresetLaunchOptions(id string, request *InstallInfo, rdx redux.Writeable) error
- func PresetLaunchOptionsHandler(u *url.URL) error
- func RemoveDownloads(id string, ii *InstallInfo, rdx redux.Writeable) error
- func RemoveDownloadsHandler(u *url.URL) error
- func Reveal(id string, ii *InstallInfo, installed, downloads, backups bool) error
- func RevealHandler(u *url.URL) error
- func Run(id string, request *InstallInfo, et *execTask) error
- func RunHandler(u *url.URL) error
- func SetupSteamCmd(force bool) error
- func SetupSteamCmdHandler(u *url.URL) error
- func SetupWine(force bool) error
- func SetupWineHandler(u *url.URL) error
- func SteamShortcut(id, forId string, ii *InstallInfo, sgo *steamGridOptions, remove bool) error
- func SteamShortcutHandler(u *url.URL) error
- func Uninstall(id string, request *InstallInfo, purge bool) error
- func UninstallHandler(u *url.URL) error
- func Update(id string, all, verbose, force bool) error
- func UpdateHandler(u *url.URL) error
- func Validate(id string, ii *InstallInfo, manualUrlFilter ...string) error
- func ValidateHandler(u *url.URL) error
- func VersionHandler(_ *url.URL) error
- type InstallInfo
- type PostInstallScript
- type UmuConfig
- type ValidationResult
Constants ¶
View Source
const ( ListTargetUnknown listTarget = iota ListTargetAvailableProducts ListTargetInstalled ListTargetLaunchOptions ListTargetSteamShortcuts ListTargetTasks )
View Source
const ( ValResMismatch = "mismatch" ValResError = "error" ValResMissingChecksum = "missing checksum" ValResFileNotFound = "file not found" ValResValid = "valid" )
Variables ¶
View Source
var ( ErrInstallInfoNotFound = errors.New("install info not found") ErrInstallInfoTooMany = errors.New("multiple installations match request") )
View Source
var ( ErrMissingExtractedPayload = errors.New("cannot locate extracted payload") ErrUnknownPostInstallCommand = errors.New("unknown postinstall command") ErrCatCommandSourceIsEmpty = errors.New("cat command source glob is empty") ErrCatCommandDstPathIsEmpty = errors.New("cat command destination path is empty") ErrNoFilesMatchSourceGlobPattern = errors.New("no files match source glob pattern") ErrNoMacOsAppBundle = errors.New("cannot locate macOS app bundle") )
View Source
var (
GitTag string
)
Functions ¶
func BackupMetadata ¶ added in v0.1.27
func BackupMetadata() error
func BackupMetadataHandler ¶ added in v0.1.27
func ConnectHandler ¶ added in v0.3.6
func Download ¶ added in v0.1.1
func Download(id string, ii *InstallInfo, originData *data.OriginData, manualUrlFilter ...string) error
func DownloadHandler ¶ added in v0.1.1
func FetchData ¶ added in v0.4.43
func FetchData(id string, ii *InstallInfo) error
func FetchDataHandler ¶ added in v0.4.43
func FixHandler ¶ added in v0.4.53
func Install ¶ added in v0.1.3
func Install(id string, ii *InstallInfo) error
func InstallHandler ¶ added in v0.1.3
func LaunchOptions ¶ added in v0.4.53
func LaunchOptions(id string, request *InstallInfo, et *execTask, reset bool) error
func LaunchOptionsHandler ¶ added in v0.4.53
func List ¶ added in v0.2.74
func List(lt listTarget, installInfo *InstallInfo, id string, update bool) error
func ListHandler ¶ added in v0.2.74
func PostInstallScriptPath ¶ added in v0.1.7
func Prefix ¶ added in v0.2.76
func Prefix(id string, request *InstallInfo, mod, program, wineBinary string, et *execTask) error
func PrefixHandler ¶ added in v0.2.76
func PrefixMods ¶ added in v0.2.76
func PrefixMods() []string
func PresetLaunchOptions ¶ added in v0.4.56
func PresetLaunchOptions(id string, request *InstallInfo, rdx redux.Writeable) error
func PresetLaunchOptionsHandler ¶ added in v0.4.56
func RemoveDownloads ¶ added in v0.1.3
func RemoveDownloads(id string, ii *InstallInfo, rdx redux.Writeable) error
func RemoveDownloadsHandler ¶ added in v0.1.3
func Reveal ¶ added in v0.2.74
func Reveal(id string, ii *InstallInfo, installed, downloads, backups bool) error
func RevealHandler ¶ added in v0.2.74
func Run ¶ added in v0.1.38
func Run(id string, request *InstallInfo, et *execTask) error
func RunHandler ¶ added in v0.1.38
func SetupSteamCmd ¶ added in v0.3.38
func SetupSteamCmdHandler ¶ added in v0.3.38
func SetupWineHandler ¶ added in v0.1.98
func SteamShortcut ¶ added in v0.2.74
func SteamShortcut(id, forId string, ii *InstallInfo, sgo *steamGridOptions, remove bool) error
func SteamShortcutHandler ¶ added in v0.2.74
func UninstallHandler ¶ added in v0.1.14
func UpdateHandler ¶ added in v0.1.99
func Validate ¶ added in v0.1.2
func Validate(id string, ii *InstallInfo, manualUrlFilter ...string) error
func ValidateHandler ¶ added in v0.1.2
func VersionHandler ¶
Types ¶
type InstallInfo ¶ added in v0.2.70
type InstallInfo struct {
OperatingSystem vangogh_integration.OperatingSystem `json:"os"`
LangCode string `json:"lang-code"`
Origin data.Origin `json:"origin"`
NoDlcs bool `json:"no-dlcs"`
DownloadableContent []string `json:"dlc"`
Version string `json:"version"`
TimeUpdated string `json:"time-updated,omitempty"`
EstimatedBytes int64 `json:"estimated-bytes"`
KeepDownloads bool `json:"keep-downloads"`
NoSteamShortcut bool `json:"no-steam-shortcut"`
NoPresentLaunchOptions bool `json:"no-preset-launch-options"`
Env []string `json:"env"`
// contains filtered or unexported fields
}
func (*InstallInfo) Matches ¶ added in v0.3.92
func (ii *InstallInfo) Matches(another *InstallInfo) bool
type PostInstallScript ¶ added in v0.1.6
type PostInstallScript struct {
// contains filtered or unexported fields
}
func ParsePostInstallScript ¶ added in v0.1.6
func ParsePostInstallScript(path string) (*PostInstallScript, error)
func (*PostInstallScript) BundleName ¶ added in v0.1.6
func (pis *PostInstallScript) BundleName() string
func (*PostInstallScript) CustomCommands ¶ added in v0.1.6
func (pis *PostInstallScript) CustomCommands() []string
func (*PostInstallScript) InstallerType ¶ added in v0.1.6
func (pis *PostInstallScript) InstallerType() string
type ValidationResult ¶ added in v0.1.5
type ValidationResult string
Source Files
¶
- backup_metadata.go
- connect.go
- download.go
- egs_support.go
- fetch_data.go
- fix.go
- get_product_type.go
- has_free_space.go
- install.go
- install_info.go
- inventory.go
- launch_options.go
- linux_proton.go
- linux_support.go
- list.go
- macos_support.go
- macos_wine.go
- postinstall_script.go
- prefix.go
- prefix_mods.go
- prefix_support.go
- preset_launch_options.go
- remove_downloads.go
- reveal.go
- run.go
- setup_steamcmd.go
- setup_wine.go
- steam_shortcut.go
- steam_support.go
- umu_configs.go
- uninstall.go
- update.go
- validate.go
- vangogh_support.go
- version.go
- walker.go
Click to show internal directories.
Click to hide internal directories.