Documentation
¶
Index ¶
- func DefaultGameConfigDir() string
- func DefaultGameConfigPath(g *game.Game) string
- func Execute()
- func FollowGameText(ctx context.Context, out io.Writer, g *game.Game, status *GameProcessStatus, ...) error
- func NewInstallCommand() *cobra.Command
- func NewInstallHookCommand() *cobra.Command
- func NewRunGameCommand() *cobra.Command
- func NewRunnerConfigCommand() *cobra.Command
- func PickGameTUI(games []*game.Game) (*game.Game, error)
- func SyncGameProcess(ctx context.Context, out io.Writer, g *game.Game, status *GameProcessStatus, ...) error
- type GameProcessStatus
- type InstallHookOptions
- type InstallOptions
- type RunGameOptions
- type RunnerConfigOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGameConfigDir ¶
func DefaultGameConfigDir() string
func DefaultGameConfigPath ¶
func FollowGameText ¶ added in v0.0.14
func FollowGameText(ctx context.Context, out io.Writer, g *game.Game, status *GameProcessStatus, opts RunGameOptions) error
func NewInstallCommand ¶
func NewInstallHookCommand ¶ added in v0.0.14
func NewRunGameCommand ¶
func NewRunnerConfigCommand ¶ added in v0.0.14
func SyncGameProcess ¶
func SyncGameProcess( ctx context.Context, out io.Writer, g *game.Game, status *GameProcessStatus, opts RunGameOptions, ) error
Types ¶
type GameProcessStatus ¶ added in v0.0.14
type GameProcessStatus struct {
PID int
Message string
Status int
// contains filtered or unexported fields
}
func RunSelectedGame ¶
func RunSelectedGame(ctx context.Context, g *game.Game, opts RunGameOptions) (*GameProcessStatus, error)
func (*GameProcessStatus) Kill ¶ added in v0.0.14
func (p *GameProcessStatus) Kill() error
func (*GameProcessStatus) Wait ¶ added in v0.0.14
func (p *GameProcessStatus) Wait() error
type InstallHookOptions ¶ added in v0.0.14
type InstallOptions ¶
type RunGameOptions ¶
type RunnerConfigOptions ¶ added in v0.0.14
type RunnerConfigOptions struct {
ConfigDir string
Import string
Export string
ImportWineConfig string
ExportWineConfig string
ImportGamescopeConfig string
ExportGamescopeConfig string
NoSave bool
Runner string
RunnerPath string
WineBin string
GamescopeBin string
WinePrefix string
WorkingDir string
Arch string
Background bool
ClearEnv bool
Env []string
ClearDeps bool
Dependencies []string
TextHookFilter []string
ClearTextHookFilter bool
Resolution string
OutputResolution string
RefreshRate int
Fullscreen bool
Borderless bool
ForceGrab bool
SteamDeck bool
ExposeWayland bool
Scaler string
Filter string
ExtraArgs []string
ClearExtraArgs bool
}
Click to show internal directories.
Click to hide internal directories.