fix: don't allow portable builds on macOS
This commit is contained in:
parent
90d4acd1a1
commit
6ed130fc16
2 changed files with 6 additions and 2 deletions
|
@ -363,10 +363,12 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef Q_OS_MACOS
|
||||
if (QFile::exists(FS::PathCombine(m_rootPath, "portable.txt"))) {
|
||||
dataPath = m_rootPath;
|
||||
adjustedBy = "Portable data path";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!FS::ensureFolderPathExists(dataPath))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue