aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/MojangVersionFormat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/MojangVersionFormat.cpp')
-rw-r--r--launcher/minecraft/MojangVersionFormat.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/launcher/minecraft/MojangVersionFormat.cpp b/launcher/minecraft/MojangVersionFormat.cpp
index f9cb2228..ff5409fd 100644
--- a/launcher/minecraft/MojangVersionFormat.cpp
+++ b/launcher/minecraft/MojangVersionFormat.cpp
@@ -5,6 +5,7 @@
#include "Json.h"
using namespace Json;
#include "ParseUtils.h"
+#include <BuildConfig.h>
static const int CURRENT_MINIMUM_LAUNCHER_VERSION = 18;
@@ -175,9 +176,11 @@ void MojangVersionFormat::readVersionProperties(const QJsonObject &in, VersionFi
{
out->addProblem(
ProblemSeverity::Warning,
- QObject::tr("The 'minimumLauncherVersion' value of this version (%1) is higher than supported by MultiMC (%2). It might not work properly!")
+ QObject::tr("The 'minimumLauncherVersion' value of this version (%1) is higher than supported by %3 (%2). It might not work properly!")
.arg(out->minimumLauncherVersion)
- .arg(CURRENT_MINIMUM_LAUNCHER_VERSION));
+ .arg(CURRENT_MINIMUM_LAUNCHER_VERSION)
+ .arg(BuildConfig.LAUNCHER_NAME)
+ );
}
}
if(in.contains("downloads"))