summarylogtreecommitdiffstats
path: root/no-unsafe-eval-warning.patch
diff options
context:
space:
mode:
authorNarrat2020-01-18 23:01:59 +0100
committerNarrat2020-01-18 23:01:59 +0100
commit8f1f8fd82adae89fb1a30bcefe287c242b80db37 (patch)
tree7adc2e67a87c2d4e567eee6575e6d4cb00c72ee4 /no-unsafe-eval-warning.patch
parent3b159d15e8013c70e651ff90594b2af4b400ea4d (diff)
downloadaur-8f1f8fd82adae89fb1a30bcefe287c242b80db37.tar.gz
sync with community atom
Diffstat (limited to 'no-unsafe-eval-warning.patch')
-rw-r--r--no-unsafe-eval-warning.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/no-unsafe-eval-warning.patch b/no-unsafe-eval-warning.patch
new file mode 100644
index 000000000000..c54d91a18718
--- /dev/null
+++ b/no-unsafe-eval-warning.patch
@@ -0,0 +1,11 @@
+--- a/static/index.js
++++ b/static/index.js
+@@ -13,6 +13,8 @@
+ let blobStore = null;
+ let useSnapshot = false;
+
++ process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true;
++
+ const startupMarkers = electron.remote.getCurrentWindow().startupMarkers;
+
+ if (startupMarkers) {