1
4
mirror of https://github.com/yunginnanet/HellPot synced 2024-06-30 17:50:53 +00:00

Fix: log directory

This commit is contained in:
kayos@tcp.direct 2022-09-11 04:30:27 -07:00
parent 20e54b74ff
commit 0461e01a60
Signed by: kayos
GPG Key ID: 4B841471B4BEE979
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored

@ -5,3 +5,4 @@ HellPot
*.save *.save
*.toml *.toml
*.yaml *.yaml
.backups/

@ -14,7 +14,7 @@ func init() {
if home, err = os.UserHomeDir(); err != nil { if home, err = os.UserHomeDir(); err != nil {
panic(err) 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) prefConfigLocation = path.Join(home, ".config", Title)
} }