Documentation ¶
Index ¶
- func ExpandInterpreterCommand(command string) string
- type Configurator
- func (c *Configurator) DataLocalePath() string
- func (c *Configurator) DataResourcePath(relPath string) string
- func (c *Configurator) GetConfig() (*InsteadmanConfig, error)
- func (c *Configurator) GetSkeletonConfig() (config *InsteadmanConfig, e error)
- func (c *Configurator) SaveConfig(config *InsteadmanConfig) error
- type Gtk
- type InsteadmanConfig
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configurator ¶
type Configurator struct { FilePath string CurrentDir string DataPath string LocalePath string Version string }
func (*Configurator) DataLocalePath ¶
func (c *Configurator) DataLocalePath() string
func (*Configurator) DataResourcePath ¶
func (c *Configurator) DataResourcePath(relPath string) string
func (*Configurator) GetConfig ¶
func (c *Configurator) GetConfig() (*InsteadmanConfig, error)
func (*Configurator) GetSkeletonConfig ¶
func (c *Configurator) GetSkeletonConfig() (config *InsteadmanConfig, e error)
func (*Configurator) SaveConfig ¶
func (c *Configurator) SaveConfig(config *InsteadmanConfig) error
type InsteadmanConfig ¶
type InsteadmanConfig struct { Repositories []Repository `json:"repositories"` InterpreterCommand string `json:"interpreter_command"` Version string `json:"version"` UseBuiltinInterpreter bool `json:"use_builtin_interpreter"` Lang string `json:"lang"` CheckUpdateOnStart bool `json:"check_update_on_start"` GamesPath string `json:"games_path"` InsteadManPath string `json:"insteadman_path"` Gtk Gtk `json:"gtk"` CalculatedGamesPath string `json:"-"` CalculatedInsteadManPath string `json:"-"` }
type Repository ¶
Click to show internal directories.
Click to hide internal directories.