openbsd-ports/games/multimc/patches/patch-application_UpdateController_cpp
kmos 9cf533a8d5 Import multimc
MultiMC is a free, open source launcher for Minecraft. It allows you
to have multiple, cleanly separated instances of Minecraft (each with
their own mods, texture packs, saves, etc) and helps you manage them
and their associated options with a simple and powerful interface.

Version 0.6.11

From Muhammad Kaisar Arkhan

testing pamela
OK (and testing) phessler
2020-09-21 07:22:37 +00:00

15 lines
612 B
Plaintext

$OpenBSD: patch-application_UpdateController_cpp,v 1.1.1.1 2020/09/21 07:22:37 kmos Exp $
Index: application/UpdateController.cpp
--- application/UpdateController.cpp.orig
+++ 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_OPENBSD)
QString finishCmd = FS::PathCombine(m_root, "MultiMC");
#elif defined Q_OS_MAC
QString finishCmd = QApplication::applicationFilePath();