asarfuckery/electronasar/stable/renderer/api/crash-reporter.js

13 lines
356 B
JavaScript
Raw Normal View History

2019-01-17 18:22:05 +00:00
'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()