More path fixes

This commit is contained in:
Artisteacher 2019-12-15 20:31:40 -05:00
parent 48cbb835c2
commit c851bfc478
2 changed files with 4 additions and 8 deletions

View file

@ -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

View file

@ -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