Setup crash reporter

This commit is contained in:
Feross Aboukhadijeh
2016-04-04 23:10:47 -07:00
parent c422151ef8
commit 7c38f374f3
2 changed files with 19 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
var electron = require('electron')
var app = electron.app
var crashReporter = electron.crashReporter
var ipcMain = electron.ipcMain
var autoUpdater = require('./auto-updater')
@@ -130,10 +131,9 @@ function processArgv (argv) {
}
function setupCrashReporter () {
// require('crash-reporter').start({
// productName: 'WebTorrent',
// companyName: 'WebTorrent',
// submitURL: 'https://webtorrent.io/crash-report',
// autoSubmit: true
// })
crashReporter.start({
companyName: config.APP_NAME,
productName: config.APP_NAME,
submitURL: 'https://webtorrent.io/desktop/crash-report'
})
}