Add crash reporting

This commit is contained in:
DC
2016-04-06 05:05:20 -07:00
parent 6a17aa7c76
commit 9a2f16b29a
4 changed files with 28 additions and 22 deletions

View File

@@ -10,9 +10,14 @@ var fs = require('fs')
var mkdirp = require('mkdirp')
var musicmetadata = require('musicmetadata')
var networkAddress = require('network-address')
var path = require('path')
var crashReporter = require('../crash-reporter')
var config = require('../config')
var torrentPoster = require('./lib/torrent-poster')
var path = require('path')
// Report when the process crashes
crashReporter.init()
// Send & receive messages from the main window
var ipc = electron.ipcRenderer