mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Use the `applicationDirPath on Mac
This commit is contained in:
parent
2307be2785
commit
bfe7742e97
1 changed files with 4 additions and 0 deletions
|
@ -355,7 +355,11 @@ void TestRunner::saveExistingHighFidelityAppDataFolder() {
|
|||
}
|
||||
|
||||
// Copy an "empty" AppData folder (i.e. no entities)
|
||||
#ifdef Q_OS_WIN
|
||||
QDir canonicalAppDataFolder{ QDir::currentPath() + "/AppDataHighFidelity" };
|
||||
#elif defined Q_OS_MAC
|
||||
QDir canonicalAppDataFolder{ QCoreApplication::applicationDirPath() + "/AppDataHighFidelity" };
|
||||
#endif
|
||||
if (canonicalAppDataFolder.exists()) {
|
||||
copyFolder(canonicalAppDataFolder.path(), _appDataFolder.path());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue