diff --git a/src/main.js b/src/main.js index 8d28b14..de7cb8e 100644 --- a/src/main.js +++ b/src/main.js @@ -21,15 +21,9 @@ function createWindow() { function init() { const win = createWindow() - globalShortcut.register('alt+x', () => { + globalShortcut.register('x', () => { app.exit(0) }) - // globalShortcut.register('ctrl+j', () => { - // win.webContents.executeJavaScript(`impress("impress").next()`) - // }) - // globalShortcut.register('ctrl+k', () => { - // win.webContents.executeJavaScript(`impress("impress").prev()`) - // }) } app.whenReady().then(init) \ No newline at end of file