WUPS 0.6.1 support

This commit is contained in:
Maschell
2021-10-01 17:25:48 +02:00
parent aa90e2478b
commit fe2e7d6fa9
9 changed files with 48 additions and 24 deletions

View File

@@ -110,10 +110,10 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(co
pluginInfo.setBuildTimestamp(value);
} else if (key == "description") {
pluginInfo.setDescription(value);
} else if (key == "id") {
pluginInfo.setId(value);
} else if (key == "storage_id") {
pluginInfo.setStorageId(value);
} else if (key == "wups") {
if (value != "0.6") {
if (value != "0.6.1") {
DEBUG_FUNCTION_LINE("Warning: Ignoring plugin - Unsupported WUPS version: %s.", value.c_str());
return std::nullopt;
}