Skip to content

Commit

Permalink
feat: Support for CTRL R for reloading (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
alepouna authored Nov 15, 2023
1 parent c353146 commit 641a165
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ function initializeApp() {
});
}

globalShortcut.register('CmdOrCtrl+R', () => {
mainWindow.isFocused() && mainWindow.reload();
});

globalShortcut.register('CmdOrCtrl+F5', () => {
mainWindow.isFocused() && mainWindow.reload();
});
Expand Down

0 comments on commit 641a165

Please sign in to comment.