Fix: log directory
This commit is contained in:
parent
20e54b74ff
commit
0461e01a60
|
@ -5,3 +5,4 @@ HellPot
|
|||
*.save
|
||||
*.toml
|
||||
*.yaml
|
||||
.backups/
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue