crash-reporter.js 330 B

123456789101112
  1. 'use strict'
  2. const CrashReporter = require('@electron/internal/common/crash-reporter')
  3. const { crashReporterInit } = require('@electron/internal/browser/crash-reporter-init')
  4. class CrashReporterMain extends CrashReporter {
  5. init (options) {
  6. return crashReporterInit(options)
  7. }
  8. }
  9. module.exports = new CrashReporterMain()