config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigDir added in v0.1.6

func ConfigDir() string

func GetBaseRootOverride

func GetBaseRootOverride() string

func GetDiscordRPCDisabled added in v0.0.24

func GetDiscordRPCDisabled() bool

func Save

func Save(c AppConfig) error

Types

type AppConfig

type AppConfig struct {
	BaseRoot          string `json:"base_root"`
	WindowWidth       int    `json:"window_width"`
	WindowHeight      int    `json:"window_height"`
	DisableDiscordRPC bool   `json:"disable_discord_rpc"`
	EnableBetaUpdates bool   `json:"enable_beta_updates"`
}

func Load

func Load() (AppConfig, error)

func Reload added in v0.1.10

func Reload() (AppConfig, error)

Jump to

Keyboard shortcuts

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