mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-29 01:02:47 +08:00
♻️ 修复插件呼起状态通过超级面板再次呼起的bug
This commit is contained in:
parent
e8d69214b7
commit
a1296953e9
@ -71,9 +71,8 @@ class API {
|
||||
}
|
||||
|
||||
public openPlugin({ data: plugin }, window) {
|
||||
if (this.currentPlugin && this.currentPlugin.name === plugin.name) return;
|
||||
window.setSize(window.getSize()[0], 60);
|
||||
runnerInstance.removeView(window);
|
||||
this.removePlugin(null, window);
|
||||
runnerInstance.init(plugin, window);
|
||||
this.currentPlugin = plugin;
|
||||
window.webContents.executeJavaScript(
|
||||
|
Loading…
x
Reference in New Issue
Block a user