summarylogtreecommitdiffstats
path: root/no-unsafe-eval-warning.patch
diff options
context:
space:
mode:
authorNarrat2020-01-18 22:47:08 +0100
committerNarrat2020-01-18 22:50:05 +0100
commitef0adeac3420d6dc7ad41e10470bd09bfec31f30 (patch)
tree22171e0c0cfae4698298bb5ffbf595d359360be4 /no-unsafe-eval-warning.patch
parent0d7a9648cb7e112299d84c814466e2447fce925c (diff)
downloadaur-ef0adeac3420d6dc7ad41e10470bd09bfec31f30.tar.gz
sync with community (1.43.0)
untested, needs to checked if this will work
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) {