fix(logging): moved data/logging dir to a more reasonable location on gnu/linux

This commit is contained in:
maelstrom 2025-07-08 08:09:37 +02:00
parent 4274a4a68f
commit ff83211b19
2 changed files with 1 additions and 4 deletions

3
.gitignore vendored
View file

@ -16,6 +16,3 @@
# Excluded assets # Excluded assets
/assets/excluded /assets/excluded
# Logs
/logs

View file

@ -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) {