contrib/multimc/fix-jars.patch
2022-09-19 22:37:26 +10:00

16 lines
688 B
Diff

diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 2d0c81bb..74f250fb 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -524,6 +524,10 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
FS::updateTimestamp(m_rootPath);
#endif
+#ifdef MULTIMC_JARS_LOCATION
+ m_jarsPath = TOSTRING(MULTIMC_JARS_LOCATION);
+#endif
+
qDebug() << BuildConfig.LAUNCHER_DISPLAYNAME << ", (c) 2013-2021 " << BuildConfig.LAUNCHER_COPYRIGHT;
qDebug() << "Version : " << BuildConfig.printableVersionString();
qDebug() << "Git commit : " << BuildConfig.GIT_COMMIT;