mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-08 03:24:12 +08:00
Merge branch 'rubickCenter:master' into master
This commit is contained in:
commit
54ad4ef7b2
@ -14,7 +14,7 @@
|
||||
:key="index"
|
||||
>
|
||||
<a-avatar style="width: 28px; height: 28px;" :src="item.icon" />
|
||||
<div class="name ellpise">{{item.pluginName || item._name || item.name}}</div>
|
||||
<div class="name ellpise">{{item.cmd || item.pluginName || item._name || item.name}}</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
|
@ -70,6 +70,9 @@ const createPluginManager = (): any => {
|
||||
const openPlugin = async (plugin, option) => {
|
||||
if (plugin.pluginType === 'ui' || plugin.pluginType === 'system') {
|
||||
if (state.currentPlugin && state.currentPlugin.name === plugin.name) {
|
||||
ipcRenderer.sendSync('msg-trigger', {
|
||||
type: 'showMainWindow',
|
||||
});
|
||||
return;
|
||||
}
|
||||
await loadPlugin(plugin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user