File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 14
14
:key =" index"
15
15
>
16
16
<a-avatar style =" width : 28px ; height : 28px ;" :src =" item.icon" />
17
- <div class =" name ellpise" >{{item.pluginName || item._name || item.name}}</div >
17
+ <div class =" name ellpise" >{{item.cmd || item. pluginName || item._name || item.name}}</div >
18
18
</a-col >
19
19
</a-row >
20
20
</div >
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ const createPluginManager = (): any => {
70
70
const openPlugin = async ( plugin , option ) => {
71
71
if ( plugin . pluginType === 'ui' || plugin . pluginType === 'system' ) {
72
72
if ( state . currentPlugin && state . currentPlugin . name === plugin . name ) {
73
+ ipcRenderer . sendSync ( 'msg-trigger' , {
74
+ type : 'showMainWindow' ,
75
+ } ) ;
73
76
return ;
74
77
}
75
78
await loadPlugin ( plugin ) ;
You can’t perform that action at this time.
0 commit comments