Documentation
¶
Index ¶
- Constants
- Variables
- func BackupMetadata() error
- func BackupMetadataHandler(_ *url.URL) error
- func Connect(protocol, address, port string, username, password string, reset bool) error
- func ConnectHandler(u *url.URL) error
- func Download(id string, ii *InstallInfo, manualUrlFilter []string, rdx redux.Writeable) error
- func DownloadHandler(u *url.URL) error
- func Install(id string, ii *InstallInfo) error
- func InstallHandler(u *url.URL) error
- func List(installed, playTasks, steamShortcuts bool, installInfo *InstallInfo, id string, ...) error
- func ListHandler(u *url.URL) error
- func PostInstallScriptPath(productExtractsDir string, link *vangogh_integration.ProductDownloadLink) string
- func Prefix(id string, ii *InstallInfo, mod, program, installWineBinary string, ...) error
- func PrefixHandler(u *url.URL) error
- func PrefixMods() []string
- 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, ii *InstallInfo, et *execTask) error
- func RunHandler(u *url.URL) error
- func SetupWine(force bool) error
- func SetupWineHandler(u *url.URL) error
- func SteamShortcut(add []string, remove []string, updateAllInstalled bool, ii *InstallInfo, ...) error
- func SteamShortcutHandler(u *url.URL) error
- func Uninstall(id string, ii *InstallInfo) 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, rdx redux.Writeable) error
- func ValidateHandler(u *url.URL) error
- func VersionHandler(_ *url.URL) error
- type InstallInfo
- type PostInstallScript
- type UmuConfig
- type ValidationResult
Constants ¶
View Source
const ( ValResMismatch = "mismatch" ValResError = "error" ValResMissingChecksum = "missing checksum" ValResFileNotFound = "file not found" ValResValid = "valid" )
Variables ¶
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 DownloadHandler ¶ added in v0.1.1
func Install ¶ added in v0.1.3
func Install(id string, ii *InstallInfo) error
func InstallHandler ¶ added in v0.1.3
func List ¶ added in v0.2.74
func List(installed, playTasks, steamShortcuts bool, installInfo *InstallInfo, id string, allKeyValues bool) error
func ListHandler ¶ added in v0.2.74
func PostInstallScriptPath ¶ added in v0.1.7
func PostInstallScriptPath(productExtractsDir string, link *vangogh_integration.ProductDownloadLink) string
func PrefixHandler ¶ added in v0.2.76
func PrefixMods ¶ added in v0.2.76
func PrefixMods() []string
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, ii *InstallInfo, et *execTask) error
func RunHandler ¶ added in v0.1.38
func SetupWineHandler ¶ added in v0.1.98
func SteamShortcut ¶ added in v0.2.74
func SteamShortcutHandler ¶ added in v0.2.74
func Uninstall ¶ added in v0.1.14
func Uninstall(id string, ii *InstallInfo) error
func UninstallHandler ¶ added in v0.1.14
func UpdateHandler ¶ added in v0.1.99
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"`
DownloadTypes []vangogh_integration.DownloadType `json:"download-types"`
DownloadableContent []string `json:"dlc"`
Version string `json:"version"`
EstimatedBytes int64 `json:"estimated-bytes"`
KeepDownloads bool `json:"keep-downloads"`
NoSteamShortcut bool `json:"no-steam-shortcut"`
UseSteamAssets bool `json:"use-steam-assets"`
Env []string `json:"env"`
// contains filtered or unexported fields
}
func (*InstallInfo) AddProductDetails ¶ added in v0.2.70
func (ii *InstallInfo) AddProductDetails(pd *vangogh_integration.ProductDetails)
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
- exec_task.go
- get_product_details.go
- gog_games_paths.go
- has_free_space.go
- install.go
- install_info.go
- inventory.go
- is_dir_empty.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
- products_details.go
- remove_downloads.go
- reveal.go
- run.go
- setup_wine.go
- steam_shortcut.go
- umu_configs.go
- uninstall.go
- update.go
- validate.go
- version.go
- windows_support.go
Click to show internal directories.
Click to hide internal directories.