Use the new breakpad crash reporter in both browser and renderer.

This commit is contained in:
Cheng Zhao 2013-11-28 22:01:58 +08:00
parent 10b560b5a7
commit b4099ba66f
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,6 @@
# Start the crash reporter before anything else.
require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub')
try
require '../src/window'
Atom = require '../src/atom'

View File

@ -67,9 +67,7 @@ delegate.browserMainParts.preMainMessageLoopRun = ->
global.devResourcePath = path.join(app.getHomeDir(), 'github', 'atom')
setupCrashReporter = ->
crashReporter.setCompanyName 'GitHub'
crashReporter.setSubmissionUrl 'https://speakeasy.githubapp.com/submit_crash_log'
crashReporter.setAutoSubmit true
crashReporter.start(productName: 'Atom', companyName: 'GitHub')
setupAutoUpdater = ->
autoUpdater.setFeedUrl 'https://speakeasy.githubapp.com/apps/27/appcast.xml'

View File

@ -1,6 +1,9 @@
# Like sands through the hourglass, so are the days of our lives.
startTime = Date.now()
# Start the crash reporter before anything else.
require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub')
require './window'
Atom = require './atom'