skerkour / bloom-legacy

DEPRECATED - End-to-end encrypted Notes, Files, Calendar, Contacts... for Android, IOS, Linux & MacOS
https://bloom.sh
Other
123 stars 23 forks source link

Desktop: set nodeIntegration to false for the renderer and use IPC instead #51

Open sylvain101010 opened 3 years ago

sylvain101010 commented 3 years ago

https://electronjs.org/docs/api/ipc-main

https://medium.com/@nornagon/electrons-remote-module-considered-harmful-70d69500f31


Need too wait for electron v7.0.0: ipecRenderer.invoke

https://github.com/electron/electron/blob/v7.0.0-beta.5/docs/api/ipc-renderer.md