Created
May 28, 2019 14:03
-
-
Save felixrieseberg/b9ecefaa0bc2af499872d3567ec1b8fa to your computer and use it in GitHub Desktop.
Electron Fiddle Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Empty --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment