This commit is contained in:
qimiko 2024-01-30 13:49:32 -07:00
parent c035278231
commit c00ccd35b1
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3

View file

@ -41,6 +41,8 @@ bool Loader::Impl::supportsLaunchArguments() const {
return true;
}
#include <loader/console.hpp>
std::string Loader::Impl::getLaunchCommand() const {
std::string launchArgs = "";
@ -58,6 +60,9 @@ std::string Loader::Impl::getLaunchCommand() const {
if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) == JNI_OK) {
env->ExceptionClear();
}
// note to self: remove this in about a week (02/11 maybe)
console::messageBox("Outdated launcher detected", "A very outdated version of the launcher is currently in use. Please update your launcher for the latest bugfixes and features.", Severity::Warning);
}
return launchArgs;