electron/remote

Does not work with Electron v28.

tr-takatsuka opened this issue · 2 comments

Nice to meet you. I am a user of electron-remoto.

Electron 28 has been released and when I tried it, I could not get it to work.

customEvent.returnValue = process.mainModule.require(moduleName);

customEvent.returnValue = process.mainModule!.require(moduleName)

It seems that process.mainModule is obsolete and an error occurs at this point.

I tried changing to use require.main as a trial,
but require.main became undefined.

Is it working properly with Electron 28 at your place?

Thank you and best regards.

Sorry, I just realised that the topic had already been discussed.
#171

closing to keep this in #171