 # temp
 # get this from config or runtime options - SY
 ROOT_URL = 'https://koding.com/Teams'
+NODE_REQUIRE     = path.resolve path.join __dirname, 'noderequire.js'
 
 module.exports = ->
 

  # Start listening the web app
  new IPCReporter

  # Emitted when the window is closed.
  mainWindow.on 'closed', ->
    # Dereference the window object, usually you would store windows

    backgroundColor   : '#131313'
    webPreferences    :
      partition       : 'persist:koding'
      preload         : NODE_REQUIRE
      nodeIntegration : no

  # and load the index.html of the app.
  mainWindow.loadURL ROOT_URL

  # Set application menu
  new ApplicationMenu
