Browse Source

add /usr/local/share to search path for config

master
Odilitime 5 years ago
parent
commit
3a817788f1
  1. 3
      src/environment/Environment.cpp

3
src/environment/Environment.cpp

@ -16,7 +16,8 @@ void Environment::init() { @@ -16,7 +16,8 @@ void Environment::init() {
};
#ifndef _WIN32
// linux or osx
paths.push_back("/usr/share/netrunner/resources");
paths.push_back("/usr/share/netrunner/resources");
paths.push_back("/usr/local/share/netrunner/resources");
#else
paths.push_back(""); //TODO: place it somewhere for windows
#endif

Loading…
Cancel
Save