diff --git a/main.js b/main.js index 6149fad..9518e01 100644 --- a/main.js +++ b/main.js @@ -69,10 +69,7 @@ mb.app.on('ready', () => { }) mb.on('after-show', () => { - electron.globalShortcut.register('Esc', () => { - console.log('CommandOrControl+X is pressed') - mb.hideWindow() - }) + electron.globalShortcut.register('Esc', mb.hideWindow) })