mirror of
https://github.com/yunginnanet/HellPot
synced 2024-06-30 17:50:53 +00:00
Fix: log directory
This commit is contained in:
parent
20e54b74ff
commit
0461e01a60
1
.gitignore
vendored
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user