|
|
@@ -320,8 +320,6 @@ class Application {
|
|
|
fullscreenable: false,
|
|
|
webPreferences: {
|
|
|
nodeIntegration: true,
|
|
|
- contextIsolation: true,
|
|
|
- nativeWindowOpen: true
|
|
|
}
|
|
|
};
|
|
|
if (process.platform === 'darwin') {
|
|
|
@@ -693,9 +691,7 @@ class View {
|
|
|
height: size.height > 768 ? 768 : size.height,
|
|
|
webPreferences: {
|
|
|
preload: path.join(__dirname, 'electron.js'),
|
|
|
- nodeIntegration: true,
|
|
|
- contextIsolation: true,
|
|
|
- nativeWindowOpen: true
|
|
|
+ nodeIntegration: true
|
|
|
}
|
|
|
};
|
|
|
if (this._owner.count > 0 && View._position && View._position.length == 2) {
|