Detect node integration in JavaScript

This commit is contained in:
Cheng Zhao 2014-10-25 18:51:26 +08:00
parent 04f1860bf5
commit f629fa7b27
6 changed files with 57 additions and 105 deletions

View file

@ -16,6 +16,7 @@ app.on('ready', function() {
width: 800,
height: 600,
resizable: false,
'node-integration': 'disable',
'auto-hide-menu-bar': true,
'use-content-size': true,
'web-preferences': {