module.exports = function(params) {
  const { crashReporter } = require('electron');
  const { uploadToServer } = params;

  crashReporter.start({
    productName: 'Atom',
    companyName: 'GitHub',
    submitURL: 'https://atom.io/crash_reports',
    uploadToServer
  });
};

module.exports = function(params) {
  const { crashReporter } = require('electron');
  const platformRelease = require('os').release();
  const { uploadToServer } = params;

  crashReporter.start({
    productName: 'Atom',
    companyName: 'GitHub',
    submitURL: 'https://atom.io/crash_reports',
    uploadToServer,
    extra: { platformRelease }
  });
};

Add platformRelease to data posted to Atom.io with crashes
Add platformRelease to data posted to Atom.io with crashes

Co-Authored-By: Jason Rudolph <68c46a606457643eab92053c1c05574abb26f861@jasonrudolph.com>
