2013-11-14 16:10:43 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
2014-04-24 07:42:37 +00:00
|
|
|
var port = require('url').parse(window.location.href, true).query.port;
|
2015-11-12 10:28:04 +00:00
|
|
|
var crashReporter = require('electron').crashReporter;
|
2013-11-14 16:10:43 +00:00
|
|
|
crashReporter.start({
|
2013-11-26 02:19:50 +00:00
|
|
|
productName: 'Zombies',
|
|
|
|
companyName: 'Umbrella Corporation',
|
2015-11-13 08:03:40 +00:00
|
|
|
submitURL: 'http://127.0.0.1:' + port,
|
2017-02-13 18:08:43 +00:00
|
|
|
uploadToServer: true,
|
2013-11-18 10:37:32 +00:00
|
|
|
ignoreSystemCrashHandler: true,
|
|
|
|
extra: {
|
|
|
|
'extra1': 'extra1',
|
|
|
|
'extra2': 'extra2',
|
|
|
|
}
|
2013-11-14 16:10:43 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
setImmediate(function() { process.crash(); });
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|