const settings = require('../settings')
const Raven = require('raven')

Raven.config(settings.sentry.dsn).install()
Raven.context(function () {
  const { app, BrowserWindow } = require('electron')
  const path = require('path')
  const url = require('url')

  const appReady = () => {
    const window = new BrowserWindow({ width: 1280, height: 1024 })

    window.loadURL(url.format({
      pathname: path.join(__dirname, 'index.html'),
      protocol: 'file:',
      slashes: true
    }))
  }

  app.on('ready', appReady)

  require('./menu')
})

@@ -484,16 +484,79 @@
     %7D))%0A
+%0A%0A%0A    window.webContents.openDevTools()%0A    require('./menu')%0A
   %7D%0A%0A  a
@@ -583,29 +583,12 @@
 ady)%0A%0A  
-require('./menu')
 %0A%7D)%0A

add menu in this shit