diff options
Diffstat (limited to 'games/multimc/files/patch-launcher_UpdateController.cpp')
-rw-r--r-- | games/multimc/files/patch-launcher_UpdateController.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/multimc/files/patch-launcher_UpdateController.cpp b/games/multimc/files/patch-launcher_UpdateController.cpp new file mode 100644 index 0000000..4dc9b99 --- /dev/null +++ b/games/multimc/files/patch-launcher_UpdateController.cpp @@ -0,0 +1,11 @@ +--- launcher/UpdateController.cpp.orig 2021-09-08 22:27:46 UTC ++++ launcher/UpdateController.cpp +@@ -90,7 +90,7 @@ void UpdateController::installUpdates() + qDebug() << "Installing updates."; + #ifdef Q_OS_WIN + QString finishCmd = QApplication::applicationFilePath(); +-#elif defined Q_OS_LINUX ++#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + QString finishCmd = FS::PathCombine(m_root, "MultiMC"); + #elif defined Q_OS_MAC + QString finishCmd = QApplication::applicationFilePath(); |