summaryrefslogtreecommitdiff
path: root/editors/atom/files/patch-src_crash-reporter-start.js
blob: 705b6f62bf81817a72f4849844392869e5385194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/crash-reporter-start.js.orig	2019-10-21 17:33:40 UTC
+++ src/crash-reporter-start.js
@@ -1,15 +1,2 @@
 module.exports = function(params) {
-  const { crashReporter } = require('electron');
-  const os = require('os');
-  const platformRelease = os.release();
-  const arch = os.arch();
-  const { uploadToServer, releaseChannel } = params;
-
-  crashReporter.start({
-    productName: 'Atom',
-    companyName: 'GitHub',
-    submitURL: 'https://atom.io/crash_reports',
-    uploadToServer,
-    extra: { platformRelease, arch, releaseChannel }
-  });
 };