mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +02:00
Make snapcraft build work.
This commit is contained in:
@@ -53,8 +53,13 @@ namespace Shared {
|
||||
namespace Util {
|
||||
|
||||
string Properties::applicationPath = "";
|
||||
#ifdef SNAPCRAFT
|
||||
string Properties::applicationDataPath = std::getenv("SNAP") + formatPath(TOSTRING(DATADIR));
|
||||
#elif FLATPAK
|
||||
string Properties::applicationDataPath = formatPath(TOSTRING(DATADIR));
|
||||
#else
|
||||
string Properties::applicationDataPath = "";
|
||||
|
||||
#endif
|
||||
string Properties::techtreePath = "";
|
||||
string Properties::scenarioPath = "";
|
||||
string Properties::tutorialPath = "";
|
||||
|
Reference in New Issue
Block a user