selective import
This commit is contained in:
@@ -4,9 +4,9 @@ module.exports = {
|
||||
|
||||
function init () {
|
||||
const config = require('./config')
|
||||
const electron = require('electron')
|
||||
const { crashReporter } = require('electron')
|
||||
|
||||
electron.crashReporter.start({
|
||||
crashReporter.start({
|
||||
companyName: config.APP_NAME,
|
||||
productName: config.APP_NAME,
|
||||
submitURL: config.CRASH_REPORT_URL
|
||||
|
||||
Reference in New Issue
Block a user