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

13 lines
356 B
JavaScript
Raw Normal View History

2019-05-18 17:55:03 +00:00
'use strict'
const CrashReporter = require('@electron/internal/common/crash-reporter')
const ipcRenderer = require('@electron/internal/renderer/ipc-renderer-internal')
2019-02-06 20:27:58 +00:00
class CrashReporterRenderer extends CrashReporter {
2019-05-18 17:55:03 +00:00
sendSync (channel, ...args) {
return ipcRenderer.sendSync(channel, ...args)
}
2019-02-06 20:27:58 +00:00
}
2019-05-18 17:55:03 +00:00
module.exports = new CrashReporterRenderer()