summarylogtreecommitdiffstats
path: root/fix-jars.patch
blob: 3d60d9dadac51e6293ebf34b61e866e52b0b9954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;