MCPcopy
hub / github.com/ZToolsCenter/ZTools / getPlugins

Method getPlugins

src/main/api/renderer/plugins.ts:225–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223
224 // 获取插件列表(过滤掉内置插件,用于插件中心显示)
225 public async getPlugins(): Promise<any[]> {
226 const allPlugins = await this.getAllPlugins()
227 // 过滤掉所有内置插件(system、setting 等)
228 return allPlugins.filter((plugin: any) => !isBundledInternalPlugin(plugin.name))
229 }
230
231 public getDisabledPlugins(): string[] {
232 if (this.disabledPluginPathSet) {

Callers 2

initMethod · 0.95
setupIPCMethod · 0.95

Calls 2

getAllPluginsMethod · 0.95
isBundledInternalPluginFunction · 0.90

Tested by

no test coverage detected