Support for WUPS 0.5, compile with latest wut version

This commit is contained in:
Maschell
2021-04-17 14:05:39 +02:00
parent 51e1c4c1f2
commit 5247775b03
5 changed files with 14 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(co
} else if (key.compare("description") == 0) {
pluginInfo.setDescription(value);
} else if (key.compare("wups") == 0) {
if (value.compare("0.4") != 0) {
if (value.compare("0.5") != 0) {
DEBUG_FUNCTION_LINE("Warning: Ignoring plugin - Unsupported WUPS version: %s.", value.c_str());
return std::nullopt;
}