diff --git a/src/main/index.ts b/src/main/index.ts index 63efc7e7..b2ba097d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -14,8 +14,7 @@ import { Notification, NotificationConstructorOptions, nativeTheme, - IpcMainInvokeEvent, - globalShortcut + IpcMainInvokeEvent } from 'electron' import Datastore from 'nedb' import { isEmpty } from 'lodash' @@ -452,13 +451,6 @@ app.on('activate', () => { } }) -app.on('browser-window-focus', () => { - // Disable reload - globalShortcut.register('CommandOrControl+R', () => { - console.log('CommandOrControl+R is pressed: Shortcut Disabled') - }) -}) - const auth = new Authentication(accountRepo) type AuthRequest = {