summarylogtreecommitdiffstats
path: root/no-unsafe-eval-warning.patch
blob: c54d91a18718b3499edb96cf5da8692d9457b8ee (plain)
1
2
3
4
5
6
7
8
9
10
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) {