Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "config.json"
Variables ¶
This section is empty.
Functions ¶
func InitializeConfig ¶
InitializeConfig creates a new configuration file with default settings.
func SaveConfig ¶
SaveConfig writes the configuration to the file.
Types ¶
type Config ¶
type Config struct { LastUsedProfile string `json:"last_used_profile"` CachedBepInExVersion string `json:"cached_bepinex_version"` OtherProfilesCloned bool `json:"other_profiles_cloned"` }
Please don't the config values from inside the package. It's supposed to be used by the main package.
func LoadConfig ¶
LoadConfig reads the configuration from the file.
Click to show internal directories.
Click to hide internal directories.