2013-11-14 16:10:43 +00:00
|
|
|
<html>
|
2017-11-01 12:57:22 +00:00
|
|
|
|
2013-11-14 16:10:43 +00:00
|
|
|
<body>
|
2017-11-01 12:57:22 +00:00
|
|
|
<script type="text/javascript" charset="utf-8">
|
2019-02-08 21:22:07 +00:00
|
|
|
const query = new URLSearchParams(location.search)
|
|
|
|
const port = query.get('port')
|
|
|
|
const uploadToServer = !query.has('skipUpload')
|
2017-11-01 12:57:22 +00:00
|
|
|
const {crashReporter, ipcRenderer} = require('electron');
|
|
|
|
|
|
|
|
crashReporter.start({
|
|
|
|
productName: 'Zombies',
|
|
|
|
companyName: 'Umbrella Corporation',
|
|
|
|
submitURL: 'http://127.0.0.1:' + port,
|
|
|
|
uploadToServer: uploadToServer,
|
|
|
|
ignoreSystemCrashHandler: true,
|
|
|
|
extra: {
|
|
|
|
'extra1': 'extra1',
|
|
|
|
'extra2': 'extra2',
|
|
|
|
}
|
|
|
|
})
|
2017-04-19 23:32:43 +00:00
|
|
|
|
2017-11-01 12:57:22 +00:00
|
|
|
if (!uploadToServer) {
|
|
|
|
ipcRenderer.sendSync('list-existing-dumps')
|
|
|
|
}
|
|
|
|
|
|
|
|
setImmediate(() => { process.crash() })
|
|
|
|
</script>
|
2013-11-14 16:10:43 +00:00
|
|
|
</body>
|
2017-11-01 12:57:22 +00:00
|
|
|
|
2019-06-13 06:42:21 +00:00
|
|
|
</html>
|