aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-03-23 14:38:58 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-04-16 18:13:12 +0200
commit6ed130fc1610da8d66ed17be9446e8f53bf96db5 (patch)
treefcbacf3bd6e8ed0d2999ab56d69b3d5cdbe9c970 /launcher
parent90d4acd1a1c9abeb31548d152c155491e2cf98fa (diff)
downloadPrismLauncher-6ed130fc1610da8d66ed17be9446e8f53bf96db5.tar.gz
PrismLauncher-6ed130fc1610da8d66ed17be9446e8f53bf96db5.tar.bz2
PrismLauncher-6ed130fc1610da8d66ed17be9446e8f53bf96db5.zip
fix: don't allow portable builds on macOS
Diffstat (limited to 'launcher')
-rw-r--r--launcher/Application.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index a9f7a0f0..6e934fa4 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -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))