mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-16 23:54:19 +08:00
@@ -166,6 +166,8 @@ export default () => {
|
||||
const removeView = (window: BrowserWindow) => {
|
||||
if (!view) return;
|
||||
window.removeBrowserView(view);
|
||||
window.setBrowserView(null);
|
||||
view.webContents.destroy();
|
||||
// window.setSize(800, 60);
|
||||
executeHooks('PluginOut', null);
|
||||
window.webContents?.executeJavaScript(`window.initRubick()`);
|
||||
|
||||
Reference in New Issue
Block a user