(function () {
  const electron = require('electron')
  const robotjs = require('robotjs')

  const {getCurrentWindow, Menu, globalShortcut} = electron.remote

  setupMenu()
  setupGlobalShortcuts()

  function setupMenu () {
    getCurrentWindow().setMenu(Menu.buildFromTemplate([
      {
        label: 'Window',
        submenu: [
          {role: 'toggledevtools'},
          {accelerator: 'CmdOrCtrl+W', role: 'close', visible: false},
        ],
      },
    ]))
  }

  function setupGlobalShortcuts () {
    globalShortcut.unregisterAll()
    globalShortcut.register('Ctrl+Alt+/', () => {
      robotjs.keyTap('menu')
    })
  }
})()

@@ -286,64 +286,94 @@
    %7B
-%0A        label: 'Window',%0A        submenu: %5B%0A          %7B
+accelerator: 'CmdOrCtrl+R', role: 'reload'%7D,%0A      %7Baccelerator: 'CmdOrCtrl+Shift+J', 
 role
@@ -393,20 +393,16 @@
 ools'%7D,%0A
-    
       %7Ba
@@ -445,44 +445,8 @@
 ose'
-, visible: false%7D,%0A        %5D,%0A      
 %7D,%0A 

Improve window menu