Timothy CyrusUpdate main.js
81a25b5 (parent 89521a4)11/24/2015, 2:28:34 AM
Update main.js
+ 1
- 1
@@ -4,7 +4,7 @@ const app = electron.app;  // Module to control application life.
 const BrowserWindow = electron.BrowserWindow;  // Module to create native browser window.
 
 // Report crashes to our server.
-require('crash-reporter').start();
+electron.crashReporter.start();
 
 // Keep a global reference of the window object, if you don't, the window will
 // be closed automatically when the JavaScript object is garbage collected.