新增打开主窗口开发者工具快捷键

This commit is contained in:
lyswhut
2022-01-11 16:58:33 +08:00
parent 57122c6eea
commit 5146f083ff
4 changed files with 19 additions and 0 deletions
+4
View File
@@ -105,3 +105,7 @@ eventHub.on(syncName.send_sync_list, ({ action, data }) => {
if (!sync.enable) return
rendererSend(NAMES.mainWindow.sync_list, { action, data })
})
eventHub.on('key_mod+f12_down', ({ action, data }) => {
if (!sync.enable) return
rendererSend(NAMES.mainWindow.open_dev_tools)
})