2020-03-20 13:28:31 -07:00
|
|
|
'use strict';
|
2018-10-06 13:48:00 +02:00
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
const CrashReporter = require('@electron/internal/common/crash-reporter');
|
|
|
|
const { crashReporterInit } = require('@electron/internal/browser/crash-reporter-init');
|
2018-10-06 13:48:00 +02:00
|
|
|
|
|
|
|
class CrashReporterMain extends CrashReporter {
|
2019-02-05 21:56:44 +01:00
|
|
|
init (options) {
|
2020-03-20 13:28:31 -07:00
|
|
|
return crashReporterInit(options);
|
2018-10-06 13:48:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-20 13:28:31 -07:00
|
|
|
module.exports = new CrashReporterMain();
|