feat(plugin): 添加 Python 插件支持
- 新增 PluginPyLoader 类实现 Python 插件加载- 添加 PythonResult 类封装 Python执行结果 - 实现 RunPython 工具类用于执行 Python脚本 - 新增 PyLocalSide 类提供 Python 脚本调用本地方法的接口- 修改主程序启动逻辑,支持 Python 插件初始化 - 更新插件注册设置项,兼容 Python 插件
This commit is contained in:
13
plug-in/python/Testing/metadata.json
Normal file
13
plug-in/python/Testing/metadata.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"id": "testing",
|
||||
"name": "测试",
|
||||
"version": "0.0.1",
|
||||
"description": "测试插件",
|
||||
"author": "tzdwindows 7",
|
||||
"dependencies": [],
|
||||
|
||||
"_comment": {
|
||||
"warning": "本文件为插件元数据配置,修改后需重启应用生效",
|
||||
"path": "插件资源应放置在plugins/{id}/目录下"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user