mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
6f58d1387f
commit
e949458180
3 changed files with 6 additions and 11 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue