Register guest web view

This commit is contained in:
Cheng Zhao 2014-10-23 23:08:48 +08:00
parent 81599f1535
commit dacbf7a042
10 changed files with 126 additions and 56 deletions

View file

@ -18,6 +18,9 @@ app.on('ready', function() {
resizable: false,
'auto-hide-menu-bar': true,
'use-content-size': true,
'web-preferences': {
'plugins': true,
},
});
mainWindow.loadUrl('file://' + __dirname + '/index.html');
mainWindow.focus();