Vanessa 2023-08-30 21:54:38 +08:00
parent 54aae5431b
commit c1478c2bc1
2 changed files with 5 additions and 3 deletions

View file

@ -811,7 +811,7 @@ app.whenReady().then(() => {
});
});
} else {
globalShortcut.register(data.hotkey, () => {
globalShortcut.register(shortcut, () => {
BrowserWindow.getAllWindows().forEach(itemB => {
itemB.webContents.send("siyuan-hotkey", {
hotkey: item