diff --git a/index.html b/index.html index 719c905..d6f6ebf 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - +
diff --git a/modules/menu-service.js b/modules/menu-service.js index 1eeb1a5..588fde4 100644 --- a/modules/menu-service.js +++ b/modules/menu-service.js @@ -18,7 +18,11 @@ menuService.createMenu = (window) => { accelerator: 'CmdOrCtrl+R', click: () => { window.show() - window.reload() + window.loadFile('index.html').catch((reason) => { + console.log(reason); + app.isQuitting = true; + app.quit(); + }); } }, {