feat: 添加新的插件和清单管理工具

- 引入了“hello_world_plugin”和“take_picture_plugin”及其各自的清单文件。
- 实现了“manifest_tool.py”,用于创建、验证和管理插件清单。
- 添加了“test_version_compatibility.py”,用于测试版本规范化、比较和兼容性检查。
- 增强了“manifest_utils.py”,增加了版本比较和验证功能。
This commit is contained in:
墨梓柒
2025-06-19 23:13:06 +08:00
parent 264561144d
commit 1fab6dc710
18 changed files with 1823 additions and 42 deletions

View File

@@ -0,0 +1,19 @@
{
"manifest_version": 3,
"name": "hello_world_plugin",
"version": "1.0.0",
"description": "我的第一个MaiCore插件包含问候功能",
"author": {
"name": "你的名字",
"url": ""
},
"license": "GPL-v3.0-or-later",
"host_application": {
"min_version": "0.8.0",
"max_version": "0.8.0"
},
"keywords": [],
"categories": [],
"default_locale": "zh-CN",
"locales_path": "_locales"
}

View File

@@ -0,0 +1,19 @@
{
"manifest_version": 3,
"name": "take_picture_plugin",
"version": "1.0.0",
"description": "提供生成自拍照和展示最近照片的功能",
"author": {
"name": "SengokuCola",
"url": ""
},
"license": "GPL-v3.0-or-later",
"host_application": {
"min_version": "0.8.0",
"max_version": "0.8.0"
},
"keywords": [],
"categories": [],
"default_locale": "zh-CN",
"locales_path": "_locales"
}