支持 setSubInput API

This commit is contained in:
muwoo
2021-12-07 11:19:08 +08:00
parent 1353c440aa
commit a9827c6db1
10 changed files with 60 additions and 13 deletions

View File

@@ -38,8 +38,8 @@ export default () => {
view.setAutoResize({ width: true });
window.setSize(800, 660);
view.webContents.openDevTools();
executeHooks(plugin.ext, "PluginEnter");
executeHooks(plugin.ext, "PluginReady");
executeHooks("PluginEnter", plugin.ext);
executeHooks("PluginReady", plugin.ext);
});
};
@@ -67,5 +67,6 @@ export default () => {
init,
getView,
removeView,
executeHooks,
};
};