diff --git a/src/plugin_system/utils/manifest_utils.py b/src/plugin_system/utils/manifest_utils.py index d070b733c..2cec91760 100644 --- a/src/plugin_system/utils/manifest_utils.py +++ b/src/plugin_system/utils/manifest_utils.py @@ -54,6 +54,7 @@ class VersionComparator: # 移除snapshot部分 normalized = re.sub(r"-snapshot\.\d+", "", version.strip()) + normalized = re.sub(r"-alpha\-\d+", "", version.strip()) # 确保版本号格式正确 if not re.match(r"^\d+(\.\d+){0,2}$", normalized): diff --git a/src/plugins/built_in/maizone_refactored/_manifest.json b/src/plugins/built_in/maizone_refactored/_manifest.json index a1b13c727..d462b8e48 100644 --- a/src/plugins/built_in/maizone_refactored/_manifest.json +++ b/src/plugins/built_in/maizone_refactored/_manifest.json @@ -11,7 +11,7 @@ "host_application": { "min_version": "0.8.0", - "max_version": "0.10.0" + "max_version": "0.11.0" }, "homepage_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max", "repository_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max", @@ -47,4 +47,4 @@ "历史记录避重" ] } -} \ No newline at end of file +}