Vanessa 2023-10-08 15:51:14 +08:00
parent 8985c9b3a9
commit 0ee6f5299e
6 changed files with 14 additions and 27 deletions

View file

@ -282,7 +282,7 @@ export const initWindow = (app: App) => {
action: [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL],
zoomIn: focus,
});
ipcRenderer.send(Constants.SIYUAN_SHOW);
ipcRenderer.send(Constants.SIYUAN_CMD, "show");
}
app.plugins.forEach(plugin => {
plugin.eventBus.emit("open-siyuan-url-block", {