From d812df99f7f75d8cab18e2c0ca2dd0b95c54e8cc Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 31 Jan 2023 21:10:37 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7206 --- app/src/window/openNewWindow.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/window/openNewWindow.ts b/app/src/window/openNewWindow.ts index 0d2c05fff..fd09411ed 100644 --- a/app/src/window/openNewWindow.ts +++ b/app/src/window/openNewWindow.ts @@ -8,6 +8,8 @@ import {Tab} from "../layout/Tab"; export const openNewWindow = (tab: Tab) => { const json = {}; layoutToJSON(tab, json); + /// #if !BROWSER ipcRenderer.send(Constants.SIYUAN_OPENWINDOW, `${window.location.protocol}//${window.location.host}/stage/build/app/window.html?v=${Constants.SIYUAN_VERSION}&json=${JSON.stringify(json)}`); + /// #endif tab.parent.removeTab(tab.id); };