More path fixes
This commit is contained in:
parent
48cbb835c2
commit
c851bfc478
2 changed files with 4 additions and 8 deletions
|
@ -70,8 +70,7 @@ TFilePath getGlobalRoot() {
|
|||
// Leggo la globalRoot da File txt
|
||||
#ifdef MACOSX
|
||||
// If MACOSX, change to MACOSX path
|
||||
std::string unixpath = "./" + tver.getAppName() + "_" +
|
||||
tver.getAppVersionString() +
|
||||
std::string unixpath = "./" + tver.getAppName() +
|
||||
".app/Contents/Resources/configfarmroot.txt";
|
||||
#else
|
||||
// set path to something suitable for most linux (Unix?) systems
|
||||
|
@ -116,8 +115,7 @@ std:
|
|||
// Leggo la localRoot da File txt
|
||||
#ifdef MACOSX
|
||||
// If MACOSX, change to MACOSX path
|
||||
std::string unixpath = "./" + tver.getAppName() + "_" +
|
||||
tver.getAppVersionString() +
|
||||
std::string unixpath = "./" + tver.getAppName() +
|
||||
".app/Contents/Resources/configfarmroot.txt";
|
||||
#else
|
||||
// set path to something suitable for most linux (Unix?) systems
|
||||
|
|
|
@ -76,8 +76,7 @@ TFilePath getGlobalRoot() {
|
|||
// Leggo la localRoot da File txt
|
||||
#ifdef MACOSX
|
||||
// If MACOSX, change to MACOSX path
|
||||
std::string unixpath = "./" + tver.getAppName() + "_" +
|
||||
tver.getAppVersionString() +
|
||||
std::string unixpath = "./" + tver.getAppName() +
|
||||
".app/Contents/Resources/configfarmroot.txt";
|
||||
#else
|
||||
// set path to something suitable for most linux (Unix?) systems
|
||||
|
@ -121,8 +120,7 @@ TFilePath getLocalRoot() {
|
|||
#else
|
||||
#ifdef MACOSX
|
||||
// If MACOSX, change to MACOSX path
|
||||
std::string unixpath = "./" + tver.getAppName() + "_" +
|
||||
tver.getAppVersionString() +
|
||||
std::string unixpath = "./" + tver.getAppName() +
|
||||
".app/Contents/Resources/configfarmroot.txt";
|
||||
#else
|
||||
// set path to something suitable for most linux (Unix?) systems
|
||||
|
|
Loading…
Reference in a new issue