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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
255 B
JavaScript
Raw Normal View History

if (process.platform === 'linux') {
process.crashReporter.start({
submitURL: process.argv[2],
productName: 'Zombies',
compress: false,
globalExtra: {
_version: process.argv[3]
}
});
}
2017-01-24 21:49:45 +00:00
process.nextTick(() => process.crash());