diff options
Diffstat (limited to 'editors/atom/files/patch-src_crash-reporter-start.js')
| -rw-r--r-- | editors/atom/files/patch-src_crash-reporter-start.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/atom/files/patch-src_crash-reporter-start.js b/editors/atom/files/patch-src_crash-reporter-start.js new file mode 100644 index 000000000000..705b6f62bf81 --- /dev/null +++ b/editors/atom/files/patch-src_crash-reporter-start.js @@ -0,0 +1,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 } +- }); + }; |
