Timothy Cyrus vor 10 Jahren
Ursprung
Commit
81a25b578a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      main.js

+ 1 - 1
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.
 const BrowserWindow = electron.BrowserWindow;  // Module to create native browser window.
 
 
 // Report crashes to our server.
 // 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
 // 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.
 // be closed automatically when the JavaScript object is garbage collected.