title: Javascript Electron Menu open app window from Menu template file
body: <p>In my Electron App, I can created a Menu template at an external local file and called it menuTemplate.js</p>
  
  <p>The menu works find but I want to be able to open a local file from it, for example about.html</p>
  
  <p>I've tried <em>'window.open('url here')'</em> but it doesn't understand window ...</p>
  
  <p>Here is the template:</p>
  
  <pre><code>module.exports = [
    {
      label: 'Electron',
      submenu: [
        {label: 'Item 1'},
        {label: 'Item 2'}
      ]
    },
    {
      label: 'Actions',
      submenu: [
        {label: 'Action 1'},
        {label: 'Action 2'},
        {label: 'Action 3'},
        {role: 'toggledevtools'},
        {label: 'ClickMe', click () { window.open('url here'); } }
      ]
    }
  ]
  </code></pre>
  
  <p>I've tried <strong><em>shell.openExternal</em></strong> and it works but I cannot get an app window to open from here.</p>
  
  <p>How can I do this?</p>