Files
electron-egg/electron/lib/crashReport.js
gaoshuaixing 0df1d3560a chrome 扩展
2021-10-13 15:40:36 +08:00

13 lines
284 B
JavaScript

'use strict';
const { crashReporter } = require('electron');
const config = require('../config');
/**
* 安装模块
*/
exports.setup = function () {
console.log('[electron-lib-crashReport] [setup]');
const options = config.get('crashReport');
crashReporter.start(options);
}