remove unknown patches
This commit is contained in:
16
config.go
16
config.go
@ -12,10 +12,11 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
WowDir string
|
||||
LaunchCmd string
|
||||
WinePrefix string
|
||||
EnableLauncher bool
|
||||
WowDir string
|
||||
LaunchCmd string
|
||||
WinePrefix string
|
||||
EnableLauncher bool
|
||||
RemoveUnknownPatches bool
|
||||
}
|
||||
|
||||
const (
|
||||
@ -36,9 +37,10 @@ func setupConfig(rerun bool) (*Config, error) {
|
||||
cfgPath = filepath.Join(home, ".config", configDirName, configName)
|
||||
|
||||
newConfig := Config{
|
||||
WowDir: defaultWowPath,
|
||||
LaunchCmd: defaultLaunchCmd,
|
||||
EnableLauncher: false,
|
||||
WowDir: defaultWowPath,
|
||||
LaunchCmd: defaultLaunchCmd,
|
||||
EnableLauncher: false,
|
||||
RemoveUnknownPatches: true,
|
||||
}
|
||||
|
||||
_, statErr := os.Stat(cfgPath)
|
||||
|
Reference in New Issue
Block a user