Add support for WUPS 0.8.1

This commit is contained in:
Maschell
2024-05-05 14:46:35 +02:00
parent 2047d5725b
commit f9b67d57ea
3 changed files with 11 additions and 7 deletions

View File

@@ -107,8 +107,8 @@ std::optional<PluginMetaInformation> PluginMetaInformationFactory::loadPlugin(st
} else if (key == "wups") {
if (value == "0.7.1") {
pluginInfo.setWUPSVersion(0, 7, 1);
} else if (value == "0.8.0") {
pluginInfo.setWUPSVersion(0, 8, 0);
} else if (value == "0.8.1") {
pluginInfo.setWUPSVersion(0, 8, 1);
} else {
error = PLUGIN_PARSE_ERROR_INCOMPATIBLE_VERSION;
DEBUG_FUNCTION_LINE_ERR("Warning: Ignoring plugin - Unsupported WUPS version: %s.", value.c_str());