Update main.js
This commit is contained in:
parent
89521a4166
commit
81a25b578a
2
main.js
2
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.
|
||||
|
|
Loading…
Reference in New Issue