Check the wums version in meta field "wum" (old released store it there)

This commit is contained in:
Maschell 2023-01-03 21:52:03 +01:00
parent 1d0b7c60d6
commit 14392b4dc9

View File

@ -247,7 +247,7 @@ std::optional<std::shared_ptr<ModuleData>> ModuleDataFactory::load(const std::st
} else {
moduleData->setInitBeforeRelocationDoneHook(false);
}
} else if (key == "wums") {
} else if (key == "wums" || key == "wum") {
if (value != "0.3.1") {
DEBUG_FUNCTION_LINE_WARN("Ignoring module - Unsupported WUMS version: %s.", value.c_str());
return std::nullopt;