aboutsummaryrefslogtreecommitdiff
path: root/launcher/UpdateController.cpp
diff options
context:
space:
mode:
authorTechnous285 <Technous285@users.noreply.github.com>2022-06-02 02:02:42 +1000
committerGitHub <noreply@github.com>2022-06-02 02:02:42 +1000
commit38ff76d2b89c156d6b3cd6f45e76670304820516 (patch)
tree9c2eddee7439d2f02c28b0b3a2d335817ba5088e /launcher/UpdateController.cpp
parent147bde5294626d7ba1a6cd672200f7da878eddd9 (diff)
downloadPrismLauncher-38ff76d2b89c156d6b3cd6f45e76670304820516.tar.gz
PrismLauncher-38ff76d2b89c156d6b3cd6f45e76670304820516.tar.bz2
PrismLauncher-38ff76d2b89c156d6b3cd6f45e76670304820516.zip
Add OpenBSD support
Adds OpenBSD support.
Diffstat (limited to 'launcher/UpdateController.cpp')
-rw-r--r--launcher/UpdateController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/UpdateController.cpp b/launcher/UpdateController.cpp
index c27fe772..646f8e57 100644
--- a/launcher/UpdateController.cpp
+++ b/launcher/UpdateController.cpp
@@ -93,7 +93,7 @@ void UpdateController::installUpdates()
qDebug() << "Installing updates.";
#ifdef Q_OS_WIN
QString finishCmd = QApplication::applicationFilePath();
-#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined (Q_OS_OPENBSD)
QString finishCmd = FS::PathCombine(m_root, BuildConfig.LAUNCHER_NAME);
#elif defined Q_OS_MAC
QString finishCmd = QApplication::applicationFilePath();