From 68a227ed7ccbff0d98af5e4179e03598794f75ed Mon Sep 17 00:00:00 2001 From: Aurora Luna Takemi <98479040+auroraisluna@users.noreply.github.com> Date: Wed, 15 Nov 2023 21:57:11 +0200 Subject: [PATCH] Update index.ts --- src/main/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/index.ts b/src/main/index.ts index 512ff98f..e1410a19 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -131,6 +131,10 @@ function initializeApp() { }); } + globalShortcut.register('CmdOrCtrl+R', () => { + mainWindow.isFocused() && mainWindow.reload(); + }); + globalShortcut.register('CmdOrCtrl+F5', () => { mainWindow.isFocused() && mainWindow.reload(); });