diff --git a/.gitignore b/.gitignore index 3e36b42..f02ae64 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ HellPot *.save *.toml *.yaml +.backups/ diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 6a5103c..ab18197 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -14,7 +14,7 @@ func init() { if home, err = os.UserHomeDir(); err != nil { panic(err) } - defOpts["logger"]["directory"] = path.Join(home, ".local", "share", Title+"logs") + defOpts["logger"]["directory"] = path.Join(home, ".local", "share", Title, "logs") prefConfigLocation = path.Join(home, ".config", Title) }