mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-18 08:44:16 +08:00
✨ 修改插件runner为browserview
This commit is contained in:
@@ -7,8 +7,12 @@ const API: any = {
|
||||
setExpendHeight({ height }: { height: number }, win: BrowserWindow): void {
|
||||
win.setSize(800, height || 60);
|
||||
},
|
||||
openPlugin({plugin}) {
|
||||
runnerInstance.init(plugin);
|
||||
openPlugin({ plugin }, window) {
|
||||
runnerInstance.removeView(window);
|
||||
runnerInstance.init(plugin, window);
|
||||
},
|
||||
removePlugin(e, window) {
|
||||
runnerInstance.removeView(window);
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user