Change custom prefix on Linux systems
This commit is contained in:
parent
55aab087a4
commit
4bb1c17ce4
|
@ -14,7 +14,7 @@ std::string prefixDefault;
|
||||||
|
|
||||||
void initPrefixes() {
|
void initPrefixes() {
|
||||||
#if defined (__gnu_linux__)
|
#if defined (__gnu_linux__)
|
||||||
prefixCustom = getenv("HOME") + std::string("/.local/facecam2d/");
|
prefixCustom = getenv("HOME") + std::string("/.local/share/facecam2d/");
|
||||||
prefixDefault = "/usr/share/facecam2d/";
|
prefixDefault = "/usr/share/facecam2d/";
|
||||||
#elif defined (__APPLE__)
|
#elif defined (__APPLE__)
|
||||||
prefixCustom = getenv("HOME") + std::string("/Library/Facecam2D/");
|
prefixCustom = getenv("HOME") + std::string("/Library/Facecam2D/");
|
||||||
|
|
Loading…
Reference in a new issue