remove unknown patches

This commit is contained in:
2025-07-20 11:26:06 -07:00
parent 882413fb1e
commit d133ae6b29
2 changed files with 46 additions and 7 deletions

View File

@ -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)