提交 70bbe8ab 编写于 作者: M muwoo

bugfix: 修复超级面板插件呼起问题

上级 d8846a04
......@@ -110,6 +110,20 @@ function mergePlugins(plugins) {
target.push(item)
}
});
ipcRenderer && ipcRenderer.send('optionPlugin', {
plugins: target.filter((plugin) => {
let hasOption = false;
plugin.features.forEach(fe => {
fe.cmds.forEach(cmd => {
if (cmd.type) {
hasOption = true;
}
})
});
return hasOption;
})
});
return target
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册