summaryrefslogtreecommitdiff
path: root/editors/atom/files/patch-src_crash-reporter-start.js
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /editors/atom/files/patch-src_crash-reporter-start.js
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'editors/atom/files/patch-src_crash-reporter-start.js')
-rw-r--r--editors/atom/files/patch-src_crash-reporter-start.js18
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 }
+- });
+ };