diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-07-16 10:16:01 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-07-16 10:16:01 -0400 |
commit | 8a1b679969245ed7944ca397b5a9df4370166b68 (patch) | |
tree | 355641dbc9d8e351929a54a31a17d605ff6b8d56 /games/multimc/files/patch-application_UpdateController.cpp | |
parent | 1dbd8d488ab44da4daea2a36d251d04f0bb7db70 (diff) | |
download | freebsd-ports-8a1b679969245ed7944ca397b5a9df4370166b68.tar.gz freebsd-ports-8a1b679969245ed7944ca397b5a9df4370166b68.tar.zst freebsd-ports-8a1b679969245ed7944ca397b5a9df4370166b68.zip |
Add multimc with patch to autodetect minecraft-runtime
Diffstat (limited to 'games/multimc/files/patch-application_UpdateController.cpp')
-rw-r--r-- | games/multimc/files/patch-application_UpdateController.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/multimc/files/patch-application_UpdateController.cpp b/games/multimc/files/patch-application_UpdateController.cpp new file mode 100644 index 0000000..ab49773 --- /dev/null +++ b/games/multimc/files/patch-application_UpdateController.cpp @@ -0,0 +1,11 @@ +--- application/UpdateController.cpp.orig 2019-03-08 00:52:03 UTC ++++ application/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(); |