lutris_script

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameDetail

type GameDetail struct {
	Exe        string `yaml:"exe,omitempty"`         // 可执行文件位置
	Prefix     string `yaml:"prefix,omitempty"`      // 容器前缀位置
	WorkingDir string `yaml:"working_dir,omitempty"` // 工作路径,默认游戏所在路径
}

type GameScript

type GameScript struct {
	Game GameDetail `yaml:"game,omitempty"`
}

type LutrisInstallScript

type LutrisInstallScript struct {
	Name     string     `yaml:"name,omitempty"`
	GameSlug string     `yaml:"game_slug,omitempty"`
	Version  string     `yaml:"version,omitempty"`
	Slug     string     `yaml:"slug,omitempty"`
	Runner   string     `yaml:"runner,omitempty"`
	Script   GameScript `yaml:"script,omitempty"`
}

type LutrisRunScript

type LutrisRunScript struct {
	Slug     string        `yaml:"slug,omitempty"`
	GameSlug string        `yaml:"game_slug,omitempty"`
	Game     *GameDetail   `yaml:"game,omitempty"`
	System   *SystemDetail `yaml:"system,omitempty"`
	Wine     *WineDetail   `yaml:"wine,omitempty"`
}

type SystemDetail

type SystemDetail struct {
	Locale   string            `yaml:"locale,omitempty"`           // 游戏字符集
	PostExit string            `yaml:"postexit_command,omitempty"` // 游戏结束时,执行的脚本位置,切记,需可执行权限
	Env      map[string]string `yaml:"env,omitempty"`              // lutris启动游戏时,环境变量
}

type WineDetail

type WineDetail struct {
	Version string `yaml:"version,omitempty"` // wine版本
}

Jump to

Keyboard shortcuts

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