Browse Source

Fixing missed variable name

HariJ 8 years ago
parent
commit
a05eb9047e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/renderer/init.js

+ 1 - 1
lib/renderer/init.js

@@ -73,7 +73,7 @@ for (let arg of process.argv) {
     isBackgroundPage = true
   } else if (arg.indexOf('--app-path=') === 0) {
     appPath = arg.substr(arg.indexOf('=') + 1)
-  } else if (arg.indexOf('--enable-webview-override=') === 0) {
+  } else if (arg.indexOf('--override-webview-security=') === 0) {
     overrideWebViewSecurity = arg.substr(arg.indexOf('=') + 1)
   }
 }