调整toml格式的内容显示与编辑

This commit is contained in:
liuwei
2025-04-11 16:31:24 +08:00
parent b092fe2215
commit 02305d2b34
4 changed files with 248 additions and 5 deletions

View File

@@ -170,7 +170,8 @@ class PluginInterface(ABC):
"""
return True
# ... 其他现有方法 ...
def get_config_path(self) -> str:
return os.path.join(self._plugin_path, 'config.toml')
def can_process(self, data: Any) -> bool:
"""检查插件是否可以处理给定的数据