cli

package
v0.1.92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 33 Imported by: 0

Documentation

Index

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 AddSteamShortcut added in v0.1.42

func AddSteamShortcut(langCode string, launchOptionsTemplate string, force bool, ids ...string) error

func AddSteamShortcutHandler added in v0.1.42

func AddSteamShortcutHandler(u *url.URL) error

func ArchivePrefix added in v0.1.27

func ArchivePrefix(langCode string, ids ...string) error

func ArchivePrefixHandler added in v0.1.27

func ArchivePrefixHandler(u *url.URL) error

func BackupMetadata added in v0.1.27

func BackupMetadata() error

func BackupMetadataHandler added in v0.1.27

func BackupMetadataHandler(_ *url.URL) error

func DefaultPrefixEnv added in v0.1.80

func DefaultPrefixEnv(ids []string, langCode string) error

func DefaultPrefixEnvHandler added in v0.1.80

func DefaultPrefixEnvHandler(u *url.URL) error

func DeletePrefixEnv added in v0.1.80

func DeletePrefixEnv(ids []string, langCode string, force bool) error

func DeletePrefixEnvHandler added in v0.1.80

func DeletePrefixEnvHandler(u *url.URL) error

func DeletePrefixExePath added in v0.1.89

func DeletePrefixExePath(ids []string, langCode string, force bool) error

func DeletePrefixExePathHandler added in v0.1.89

func DeletePrefixExePathHandler(u *url.URL) error

func Download added in v0.1.1

func Download(operatingSystems []vangogh_integration.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_integration.DownloadType,
	force bool,
	ids ...string) error

func DownloadHandler added in v0.1.1

func DownloadHandler(u *url.URL) error

func Ids added in v0.1.4

func Ids(u *url.URL) []string

func Install added in v0.1.3

func Install(langCode string,
	downloadTypes []vangogh_integration.DownloadType,
	removeDownloads bool,
	addSteamShortcut bool,
	force bool,
	ids ...string) error

func InstallHandler added in v0.1.3

func InstallHandler(u *url.URL) error

func ListInstalled added in v0.1.13

func ListInstalled(os vangogh_integration.OperatingSystem, langCode string) error

func ListInstalledHandler added in v0.1.13

func ListInstalledHandler(u *url.URL) error

func ListPrefixEnv added in v0.1.81

func ListPrefixEnv() error

func ListPrefixEnvHandler added in v0.1.81

func ListPrefixEnvHandler(_ *url.URL) error

func ListPrefixExePath added in v0.1.89

func ListPrefixExePath() error

func ListPrefixExePathHandler added in v0.1.89

func ListPrefixExePathHandler(_ *url.URL) error

func ListSteamShortcuts added in v0.1.45

func ListSteamShortcuts() error

func ListSteamShortcutsHandler added in v0.1.45

func ListSteamShortcutsHandler(_ *url.URL) error

func ListWineInstalledHandler added in v0.1.70

func ListWineInstalledHandler(u *url.URL) error

func ModPrefixRetina added in v0.1.29

func ModPrefixRetina(id, langCode string, revert, verbose, force bool) error

func ModPrefixRetinaHandler added in v0.1.29

func ModPrefixRetinaHandler(u *url.URL) error

func OsLangCodeDownloadType added in v0.1.4

func PostInstallScriptPath added in v0.1.7

func PostInstallScriptPath(productExtractsDir string, link *vangogh_integration.TheoDownloadLink) string

func RemoveDownloads added in v0.1.3

func RemoveDownloads(operatingSystems []vangogh_integration.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_integration.DownloadType,
	force bool,
	ids ...string) error

func RemoveDownloadsHandler added in v0.1.3

func RemoveDownloadsHandler(u *url.URL) error

func RemovePrefix added in v0.1.28

func RemovePrefix(langCode string, archive, force bool, ids ...string) error

func RemovePrefixHandler added in v0.1.28

func RemovePrefixHandler(u *url.URL) error

func RemoveSteamShortcut added in v0.1.45

func RemoveSteamShortcut(ids ...string) error

func RemoveSteamShortcutHandler added in v0.1.45

func RemoveSteamShortcutHandler(u *url.URL) error

func ResetVangoghConnection added in v0.1.31

func ResetVangoghConnection() error

func ResetVangoghConnectionHandler added in v0.1.31

func ResetVangoghConnectionHandler(_ *url.URL) error

func RevealBackups added in v0.1.28

func RevealBackups() error

func RevealBackupsHandler added in v0.1.28

func RevealBackupsHandler(_ *url.URL) error

func RevealDownloads added in v0.1.3

func RevealDownloads(ids ...string) error

func RevealDownloadsHandler added in v0.1.3

func RevealDownloadsHandler(u *url.URL) error

func RevealInstalled added in v0.1.7

func RevealInstalled(langCode string, ids ...string) error

func RevealInstalledHandler added in v0.1.7

func RevealInstalledHandler(u *url.URL) error

func RevealPrefix added in v0.1.27

func RevealPrefix(langCode string, ids ...string) error

func RevealPrefixHandler added in v0.1.27

func RevealPrefixHandler(u *url.URL) error

func Run added in v0.1.38

func Run(id string, langCode string, env []string, verbose bool) error

func RunHandler added in v0.1.38

func RunHandler(u *url.URL) error

func Serve added in v0.1.19

func Serve(port int, stderr bool) error

func ServeHandler added in v0.1.19

func ServeHandler(u *url.URL) error

func SetPrefixEnv added in v0.1.80

func SetPrefixEnv(ids []string, langCode string, env []string) error

func SetPrefixEnvHandler added in v0.1.80

func SetPrefixEnvHandler(u *url.URL) error

func SetPrefixExePath added in v0.1.89

func SetPrefixExePath(ids []string, langCode string, exePath string) error

func SetPrefixExePathHandler added in v0.1.89

func SetPrefixExePathHandler(u *url.URL) error

func SetVangoghConnection added in v0.1.31

func SetVangoghConnection(
	protocol, address, port string,
	username, password string) error

func SetVangoghConnectionHandler added in v0.1.31

func SetVangoghConnectionHandler(u *url.URL) error

func TestVangoghConnection added in v0.1.31

func TestVangoghConnection() error

func TestVangoghConnectionHandler added in v0.1.31

func TestVangoghConnectionHandler(_ *url.URL) error

func Uninstall added in v0.1.14

func Uninstall(langCode string, force bool, ids ...string) error

func UninstallHandler added in v0.1.14

func UninstallHandler(u *url.URL) error

func UpdateWine added in v0.1.27

func UpdateWine(force bool) error

func UpdateWineHandler added in v0.1.27

func UpdateWineHandler(u *url.URL) error

func Validate added in v0.1.2

func Validate(operatingSystems []vangogh_integration.OperatingSystem,
	langCodes []string,
	downloadTypes []vangogh_integration.DownloadType,
	ids ...string) error

func ValidateHandler added in v0.1.2

func ValidateHandler(u *url.URL) error

func VersionHandler

func VersionHandler(_ *url.URL) error

func WineInstall added in v0.1.64

func WineInstall(langCode string,
	env []string,
	downloadTypes []vangogh_integration.DownloadType,
	removeDownloads bool,
	addSteamShortcut bool,
	verbose bool,
	force bool,
	ids ...string) error

func WineInstallHandler added in v0.1.64

func WineInstallHandler(u *url.URL) error

func WineRun added in v0.1.74

func WineRun(id string, langCode string, exePath string, env []string, verbose, force bool) error

func WineRunHandler added in v0.1.74

func WineRunHandler(u *url.URL) error

func WineUninstall added in v0.1.72

func WineUninstall(langCode string, archive, force bool, ids ...string) error

func WineUninstallHandler added in v0.1.72

func WineUninstallHandler(u *url.URL) error

Types

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 SetupProperties added in v0.1.1

type SetupProperties map[string]string

type ValidationResult added in v0.1.5

type ValidationResult string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL