Browse Source

优化快捷键

Caner 2 years ago
parent
commit
56fe51cda8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      electron/main.js

+ 2 - 1
electron/main.js

@@ -87,8 +87,9 @@ class MainSerivce {
     ])
     tray.setToolTip('控制端')
     tray.on('click', () => this.mainWin.show())
+
     // 注册调试模式
-    globalShortcut.register('Control+F12', () => {
+    globalShortcut.register('Ctrl+F12', () => {
       this.mainWin.webContents.toggleDevTools()
     })