Vanessa 2026-03-02 19:27:11 +08:00
parent b613bf3b34
commit c089edf65f
4 changed files with 20 additions and 21 deletions

View file

@ -202,7 +202,7 @@ export const initWindow = async (app: App) => {
}
});
ipcRenderer.on(Constants.SIYUAN_SEND_WINDOWS, (e, ipcData: IWebSocketData) => {
onWindowsMsg(ipcData);
onWindowsMsg(ipcData, app);
});
ipcRenderer.on(Constants.SIYUAN_HOTKEY, (e, data) => {
let matchCommand = false;