diff options
author | flow <flowlnlnln@gmail.com> | 2022-06-15 06:32:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 06:32:14 -0300 |
commit | 03e454b71d83aebbb534c5734ccd9093842da28c (patch) | |
tree | 162673cff8b4807008ed4f74f06897d11939fc38 | |
parent | c527ea83fb02e06435358d99eb89eba746c4db64 (diff) | |
parent | 38ff76d2b89c156d6b3cd6f45e76670304820516 (diff) | |
download | PrismLauncher-03e454b71d83aebbb534c5734ccd9093842da28c.tar.gz PrismLauncher-03e454b71d83aebbb534c5734ccd9093842da28c.tar.bz2 PrismLauncher-03e454b71d83aebbb534c5734ccd9093842da28c.zip |
Merge pull request #694 from Technous285/develop-1
Add OpenBSD support
-rw-r--r-- | launcher/UpdateController.cpp | 2 | ||||
-rw-r--r-- | launcher/tools/MCEditTool.cpp | 2 |
2 files changed, 2 insertions, 2 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(); diff --git a/launcher/tools/MCEditTool.cpp b/launcher/tools/MCEditTool.cpp index 21e1a3b0..2c1ec613 100644 --- a/launcher/tools/MCEditTool.cpp +++ b/launcher/tools/MCEditTool.cpp @@ -52,7 +52,7 @@ QString MCEditTool::getProgramPath() #else const QString mceditPath = path(); QDir mceditDir(mceditPath); -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) if (mceditDir.exists("mcedit.sh")) { return mceditDir.absoluteFilePath("mcedit.sh"); |