cl

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	AppName       string
	VersionString string

	Localizer *localize.Localizer

	PreferLaunch bool
	Upgrade      bool
	Uninstall    bool
	Info         bool
	Relaunch     bool
	RelaunchPID  int
	RunGameID    int64
	ProfileID    int64
	SyncLauncher bool

	// Re-exec with administrator rights before running the verb
	// (Windows only). Used by the app when the install folder isn't
	// writable by the current user.
	Elevate bool
	// Install root resolved by the caller, for the elevated re-exec:
	// under another administrator's account, its own lookup would
	// land in that account's profile.
	InstallDir string
	// Mirror JSON-lines messages to this file. An elevated process can't
	// inherit the app's stdout, so this is how it reports back.
	LogFile string

	Silent     bool
	NoFallback bool
	Args       []string
}

Jump to

Keyboard shortcuts

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