From 81a25b578a2838e81458bdfafd47e9e4a8ffc538 Mon Sep 17 00:00:00 2001 From: Timothy Cyrus Date: Mon, 23 Nov 2015 21:28:34 -0500 Subject: [PATCH] Update main.js --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 03c5540..1660e3f 100644 --- a/main.js +++ b/main.js @@ -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.