This commit is contained in:
Liang Ding 2022-12-17 15:33:25 +08:00
parent d21dd185c4
commit a8201b8474
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 113 additions and 42 deletions

View file

@ -131,7 +131,7 @@ export const onGetConfig = (isStart: boolean) => {
}
/// #if !BROWSER
ipcRenderer.send(Constants.SIYUAN_CONFIG_CLOSE, window.siyuan.config.appearance.closeButtonBehavior);
ipcRenderer.send(Constants.SIYUAN_INIT);
ipcRenderer.send(Constants.SIYUAN_INIT, window.siyuan.languages);
ipcRenderer.send(Constants.SIYUAN_HOTKEY, hotKey2Electron(window.siyuan.config.keymap.general.toggleWin.custom));
/// #endif
if (!window.siyuan.config.uiLayout || (window.siyuan.config.uiLayout && !window.siyuan.config.uiLayout.left)) {