Vanessa 2023-10-08 11:01:54 +08:00
parent 6f58d1387f
commit e949458180
3 changed files with 6 additions and 11 deletions

View file

@ -111,10 +111,9 @@ export const onGetConfig = (isStart: boolean, app: App) => {
});
}
/// #if !BROWSER
ipcRenderer.send(Constants.SIYUAN_INIT, {
ipcRenderer.invoke(Constants.SIYUAN_INIT, {
languages: window.siyuan.languages["_trayMenu"],
workspaceDir: window.siyuan.config.system.workspaceDir,
id: getCurrentWindow().id,
port: location.port
});
webFrame.setZoomFactor(window.siyuan.storage[Constants.LOCAL_ZOOM]);