 
     @setupJavaScriptArguments()
     @parseCommandLine()
+    @buildApplicationmenu()
     @setupNodePaths()
     @handleEvents()
 

delegate = require 'atom_delegate'
path = require 'path'
BrowserWindow = require 'browser_window'
ipc = require 'ipc'
dialog = require 'dialog'
optimist = require 'optimist'

browserMain = new BrowserMain

delegate.browserMainParts.preMainMessageLoopRun = ->
  Menu.setApplicationMenu browserMain.menu

  new AtomWindow
    bootstrapScript: 'window-bootstrap',
    resourcePath: browserMain.resourcePath
