 
       @installUpdate (error) =>
         if error?
-          console.log "Failed to update: #{error.message} - #{error.code} - #{error.stdout}"
           @emit 'update-not-available'
           return
-
-        console.log "Updated to #{update.version}"
 
         @emit 'update-available'
         @emit 'update-downloaded', {}, update.releaseNotes, update.version, new Date(), 'https://atom.io', => @quitAndInstall()

  setFeedUrl: (@updateUrl) ->

  quitAndInstall: ->
    console.log 'restarting new atom.exe'

    if SquirrelUpdate.existsSync()
      SquirrelUpdate.restartAtom()
    else


    @downloadUpdate (error, update) =>
      if error?
        @emit 'update-not-available'
        return

