fix(logging): moved data/logging dir to a more reasonable location on gnu/linux
This commit is contained in:
parent
4274a4a68f
commit
ff83211b19
2 changed files with 1 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -16,6 +16,3 @@
|
||||||
|
|
||||||
# Excluded assets
|
# Excluded assets
|
||||||
/assets/excluded
|
/assets/excluded
|
||||||
|
|
||||||
# Logs
|
|
||||||
/logs
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ std::string getProgramDataDir() {
|
||||||
homedir = getpwuid(getuid())->pw_dir;
|
homedir = getpwuid(getuid())->pw_dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
return std::string(homedir) + "/openblocks";
|
return std::string(homedir) + "/.local/share/openblocks";
|
||||||
}
|
}
|
||||||
|
|
||||||
void displayErrorMessage(std::string message) {
|
void displayErrorMessage(std::string message) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue