asarfuckery/electronasar/stable/renderer/api/crash-reporter.js
2019-01-17 19:22:05 +01:00

12 lines
356 B
JavaScript

'use strict'
const CrashReporter = require('@electron/internal/common/crash-reporter')
const ipcRenderer = require('@electron/internal/renderer/ipc-renderer-internal')
class CrashReporterRenderer extends CrashReporter {
sendSync (channel, ...args) {
return ipcRenderer.sendSync(channel, ...args)
}
}
module.exports = new CrashReporterRenderer()