Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Electron Fiddle Gist
<!-- Empty -->
const { app, crashReporter } = require('electron')
app.on('ready', () => {
console.log('App is ready, now starting crash reporter.')
console.log(`If you don't see an "All done", we're hanging.`)
crashReporter.start({
productName: 'YourName',
companyName: 'YourCompany',
submitURL: 'https://your-domain.com/url-to-submit',
uploadToServer: true
})
console.log('All done')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.