启用所有插件
(self)
| 203 | raise Warning(f"加载插件错误: {e}") |
| 204 | |
| 205 | def enableAllPlugins(self): |
| 206 | """启用所有插件""" |
| 207 | for pluginName in self.loadedPlugin.keys(): |
| 208 | plugin: Plugin = self.loadedPlugin.get(pluginName) |
| 209 | if plugin.ENABLE is not None: |
| 210 | try: |
| 211 | self.enablePlugin(pluginName) |
| 212 | except Exception: |
| 213 | continue |
| 214 | |
| 215 | def disableAllPlugins(self): |
| 216 | """禁用所有插件""" |
nothing calls this directly
no test coverage detected