Skip to content

Instantly share code, notes, and snippets.

@felixrieseberg
Created May 28, 2019 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felixrieseberg/b9ecefaa0bc2af499872d3567ec1b8fa to your computer and use it in GitHub Desktop.
Save felixrieseberg/b9ecefaa0bc2af499872d3567ec1b8fa to your computer and use it in GitHub Desktop.
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