electron-process-manager
electron-process-manager copied to clipboard
Electron 10 - Fix missing `remote` module
Needed to add enableRemoteModule: true
to the BrowserWindow webPreferences.
The default value has changed to false
.
it causes this problem: "can't access getCurrentWindow from null."
it causes this problem: "can't access getCurrentWindow from null."
Are you using a version of Electron without the remote module? I pushed a version that uses the @electron/remote
module instead but it has a minimum Electron version of 10.0.
I published a fork here npm install -S electron-process-manager=@krisdages/electron-process-manager@^2
https://www.npmjs.com/package/@krisdages/electron-process-manager
https://github.com/krisdages/electron-process-manager/tree/feature/electron-remote