mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Detect node integration in JavaScript
This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user