Documentation ¶
Index ¶
- Constants
- Variables
- func GameNameString(game Game) string
- func String(game Game) (name string)
- type Configs
- func (c *Configs) GetBackupFullPath(game Game) string
- func (c *Configs) GetDownloadFullPathForGame(game Game) string
- func (c *Configs) GetDownloadFullPathForUtility() string
- func (c *Configs) GetGameDir(game Game) (s string)
- func (c *Configs) GetGameDirSuffix(game Game) (s string)
- func (c *Configs) GetModsFullPath(game Game) string
- func (c *Configs) Initialize() (err error)
- func (c *Configs) Save() (err error)
- func (c *Configs) Size() fyne.Size
- type Game
- type GameName
- type Secret
- type ThemeColor
Constants ¶
View Source
const ( WindowWidth = 1200 WindowHeight = 850 )
Variables ¶
View Source
var (
PWD string
)
Functions ¶
func GameNameString ¶
Types ¶
type Configs ¶
type Configs struct { FirstTime bool `json:"firstTime"` WindowX int `json:"width"` WindowY int `json:"height"` DirI string `json:"dir1"` DirII string `json:"dir2"` DirIII string `json:"dir3"` DirIV string `json:"dir4"` DirV string `json:"dir5"` DirVI string `json:"dir6"` ModsDir string `json:"modDir"` ImgCacheDir string `json:"imgCacheDir"` DownloadDir string `json:"downloadDir"` BackupDir string `json:"backupDir"` Theme ThemeColor `json:"theme"` DefaultGame string `json:"openTo"` }
func (*Configs) GetBackupFullPath ¶
func (*Configs) GetDownloadFullPathForGame ¶
func (*Configs) GetDownloadFullPathForUtility ¶
func (*Configs) GetGameDir ¶
func (*Configs) GetGameDirSuffix ¶
func (*Configs) GetModsFullPath ¶
func (*Configs) Initialize ¶
type Secret ¶
type Secret struct {
NexusApiKey string `json:"nexusApiKey"`
}
func GetSecrets ¶
func GetSecrets() *Secret
func (*Secret) Initialize ¶
func (s *Secret) Initialize()
Click to show internal directories.
Click to hide internal directories.