Clean up testing code written for crash for children
This commit is contained in:
parent
d453dbdb40
commit
241773f2f0
3 changed files with 2 additions and 57 deletions
|
@ -1,4 +1,4 @@
|
|||
const {app, BrowserWindow, crashReporter} = require('electron')
|
||||
const {app, BrowserWindow} = require('electron')
|
||||
const path = require('path')
|
||||
|
||||
let mainWindow = null
|
||||
|
@ -20,11 +20,6 @@ exports.load = (appUrl) => {
|
|||
if (process.platform === 'linux') {
|
||||
options.icon = path.join(__dirname, 'icon.png')
|
||||
}
|
||||
crashReporter.start({
|
||||
submitURL: 'http://localhost:8080/uploadDump/mainDump',
|
||||
companyName: 'Main Company',
|
||||
productName: 'Main Product'
|
||||
})
|
||||
|
||||
mainWindow = new BrowserWindow(options)
|
||||
mainWindow.loadURL(appUrl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue