Support WUPS 0.4, remove some unused code.

This commit is contained in:
Maschell
2021-03-16 17:55:32 +01:00
parent 1491e2283f
commit f11649bc36
7 changed files with 44 additions and 294 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.2") != 0) {
if (value.compare("0.4") != 0) {
DEBUG_FUNCTION_LINE("Warning: Ignoring plugin - Unsupported WUPS version: %s.", value.c_str());
return std::nullopt;
}