👷 支持github workflow

This commit is contained in:
muwoo
2021-12-15 11:58:11 +08:00
parent 7fc60e2ca8
commit 3a05e13948
7 changed files with 113 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ export default () => {
view.setBounds({ x: 0, y: 60, width: 800, height: 600 });
view.setAutoResize({ width: true });
window.setSize(800, 660);
view.webContents.openDevTools();
commonConst.dev() && view.webContents.openDevTools();
executeHooks("PluginEnter", plugin.ext);
executeHooks("PluginReady", plugin.ext);
window.webContents.executeJavaScript(`window.pluginLoaded()`);