Remote is depricated
Opened this issue · 1 comments
iamchathu commented
Seems electron is going to remove remote
from Electron.
robertpatrick commented
@iamchathu you can work around any issue in newer versions of Electron by passing the appropriate webPreferences
into the BrowserWindow
constructor. For example:
let newWindow = new BrowserWindow({
x, y, show: false,
"webPreferences": {
nodeIntegration: true,
contextIsolation: false,
enableRemoteModule: true
}
})
Obviously, this will stop working in Electron 12.