Change custom prefix on Linux systems

This commit is contained in:
Epicalert 2021-02-28 14:09:49 +08:00
parent 55aab087a4
commit 4bb1c17ce4
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD

View file

@ -14,7 +14,7 @@ std::string prefixDefault;
void initPrefixes() {
#if defined (__gnu_linux__)
prefixCustom = getenv("HOME") + std::string("/.local/facecam2d/");
prefixCustom = getenv("HOME") + std::string("/.local/share/facecam2d/");
prefixDefault = "/usr/share/facecam2d/";
#elif defined (__APPLE__)
prefixCustom = getenv("HOME") + std::string("/Library/Facecam2D/");