aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
authorswirl <roachh@protonmail.com>2021-12-31 14:27:21 -0500
committerGitHub <noreply@github.com>2021-12-31 14:27:21 -0500
commit541e2f0d8d56b1e808ac98b6cf5b3600f324f2fa (patch)
tree5a300af57c0207d38980319d54dc04218828aa1e /launcher/Application.cpp
parent0c177b1086d69993e012ba1fbed1adf6bfe04144 (diff)
parentfa98ed3ccd74cbf0228baf13851b6bb6d17d51a3 (diff)
downloadPrismLauncher-541e2f0d8d56b1e808ac98b6cf5b3600f324f2fa.tar.gz
PrismLauncher-541e2f0d8d56b1e808ac98b6cf5b3600f324f2fa.tar.bz2
PrismLauncher-541e2f0d8d56b1e808ac98b6cf5b3600f324f2fa.zip
Merge pull request #8 from dada513/upstream_update
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 8e0d6c33..cbfdcbe2 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -523,7 +523,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// Set up paths
{
// Root path is used for updates.
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
QDir foo(FS::PathCombine(binPath, ".."));
m_rootPath = foo.absolutePath();
#elif defined(Q_OS_WIN32)