2018-10-06 11:48:00 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const CrashReporter = require('@electron/internal/common/crash-reporter')
|
2019-02-05 20:56:44 +00:00
|
|
|
const ipcRendererUtils = require('@electron/internal/renderer/ipc-renderer-internal-utils')
|
2018-10-06 11:48:00 +00:00
|
|
|
|
|
|
|
class CrashReporterRenderer extends CrashReporter {
|
2019-02-05 20:56:44 +00:00
|
|
|
init (options) {
|
|
|
|
return ipcRendererUtils.invokeSync('ELECTRON_CRASH_REPORTER_INIT', options)
|
2018-10-06 11:48:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = new CrashReporterRenderer()
|