diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-08-03 21:14:23 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-08-03 21:14:32 +0200 |
commit | be4fb65470d2a005560e069f7e0969e974767b00 (patch) | |
tree | c752791ca33be23c278fe3d1d710995417f0a205 | |
parent | 6fd3672618f425bb539f4d554a5fda5d1236d042 (diff) | |
download | PrismLauncher-be4fb65470d2a005560e069f7e0969e974767b00.tar.gz PrismLauncher-be4fb65470d2a005560e069f7e0969e974767b00.tar.bz2 PrismLauncher-be4fb65470d2a005560e069f7e0969e974767b00.zip |
fix: Add root path detection on OpenBSD
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r-- | launcher/Application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index 2bd91fd7..97d41993 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -321,7 +321,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) { // Root path is used for updates and portable data -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) QDir foo(FS::PathCombine(binPath, "..")); // typically portable-root or /usr m_rootPath = foo.absolutePath(); #elif defined(Q_OS_WIN32) |