Add OpenBSD support

Adds OpenBSD support.
This commit is contained in:
Technous285
2022-06-02 02:02:42 +10:00
committed by GitHub
parent 147bde5294
commit 38ff76d2b8
2 changed files with 2 additions and 2 deletions

View File

@@ -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();