|
@ -3,9 +3,6 @@ const electron = require('electron'); |
|
|
const app = electron.app; // Module to control application life.
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
let mainWindow; |
|
|
let mainWindow; |
|
|