From cef644b637e08d9cc9a6d14aded04942f06dbab8 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Mon, 17 Feb 2020 16:46:46 -0800 Subject: [PATCH] f5 isn't a valid accelerator fix WARNING: f5 is not a valid accelerator on MacOS --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 487363f3b..b13c1be9a 100644 --- a/main.js +++ b/main.js @@ -286,7 +286,7 @@ function createWindow() { // Disable system main menu mainWindow.setMenu(null); - electronLocalshortcut.register(mainWindow, 'f5', () => { + electronLocalshortcut.register(mainWindow, 'F5', () => { mainWindow.reload(); }); electronLocalshortcut.register(mainWindow, 'CommandOrControl+R', () => {