12 lines
384 B
JavaScript
12 lines
384 B
JavaScript
'use strict'
|
|
|
|
const CrashReporter = require('@electron/internal/common/crash-reporter')
|
|
const ipcRendererUtils = require('@electron/internal/renderer/ipc-renderer-internal-utils')
|
|
|
|
class CrashReporterRenderer extends CrashReporter {
|
|
init (options) {
|
|
return ipcRendererUtils.invokeSync('ELECTRON_CRASH_REPORTER_INIT', options)
|
|
}
|
|
}
|
|
|
|
module.exports = new CrashReporterRenderer()
|