electron/spec-main/fixtures/apps/crash/node-crash.js

10 lines
234 B
JavaScript

if (process.platform === 'linux') {
process.crashReporter.start({
submitURL: process.argv[2],
productName: 'Zombies',
globalExtra: {
_version: process.argv[3]
}
});
}
process.nextTick(() => process.crash());