[client] added env var TRAINTASTIC_LNCVXML_PATH for overriding LNCV XML path (useful when developing)
Dieser Commit ist enthalten in:
Ursprung
62cf04eb02
Commit
10ed59404c
@ -119,6 +119,10 @@ std::filesystem::path getManualPath()
|
||||
|
||||
std::filesystem::path getLNCVXMLPath()
|
||||
{
|
||||
if(auto path = getEnvironmentVariableAsPath("TRAINTASTIC_LNCVXML_PATH"))
|
||||
{
|
||||
return *path;
|
||||
}
|
||||
#ifdef WIN32
|
||||
return getProgramDataPath() / "traintastic" / "lncv";
|
||||
#elif defined(__linux__)
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren