pick resources up from ~/.local/share/abaddon instead

This commit is contained in:
ouwou
2021-07-08 03:32:29 -04:00
parent 90076cf689
commit 8321cd29d6

View File

@@ -96,7 +96,7 @@ std::string Platform::FindResourceFolder() {
static bool found = false;
if (found) return found_path;
const static std::string home_path = std::getenv("HOME") + "/.config/abaddon"s;
const static std::string home_path = std::getenv("HOME") + "/.local/share/abaddon"s;
for (const auto &path : { "."s, home_path, std::string(ABADDON_DEFAULT_RESOURCE_DIR) }) {
if (IsFolder(path + "/res") && IsFolder(path + "/css")) {