mirror of
https://github.com/electron/electron.git
synced 2026-02-18 02:51:53 -05:00
Register guest web view
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user