diff options
Diffstat (limited to 'no-unsafe-eval-warning.patch')
-rw-r--r-- | no-unsafe-eval-warning.patch | 11 |
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) { |