TODO: collect crash reports

This commit is contained in:
Feross Aboukhadijeh
2016-01-02 16:09:24 +01:00
parent a4f5786160
commit c584d23ddb

View File

@@ -2,7 +2,13 @@ var electron = require('electron')
var app = electron.app
// report crashes to the Electron project
require('crash-reporter').start()
require('crash-reporter').start({
// TODO: collect crash reports
// productName: 'WebTorrent',
// companyName: 'WebTorrent',
// submitURL: 'https://webtorrent.io/crash-report',
// autoSubmit: true
})
// adds debug features like hotkeys for triggering dev tools and reload
require('electron-debug')()