mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
9 lines
209 B
JavaScript
9 lines
209 B
JavaScript
'use strict';
|
|
|
|
const { crashReporter } = require('electron');
|
|
const config = require('../config');
|
|
|
|
exports.setup = function () {
|
|
const options = config.get('crashReport');
|
|
crashReporter.start(options);
|
|
} |