gitify icon indicating copy to clipboard operation
gitify copied to clipboard

Move off of `nodeIntegration` to `contextIsolation:true`

Open afonsojramos opened this issue 2 years ago • 1 comments

📝 Provide a description of the new feature

For security reasons, https://www.electronjs.org/docs/latest/tutorial/context-isolation should be enabled, however, some changes are required to the way we communicate with the main thread. We should apply these changes and enable contextIsolation.

➕ Additional Information

https://stackoverflow.com/questions/71111106/nodeintegration-vs-preload-js-vs-ipc-in-electron

afonsojramos avatar Dec 22 '23 15:12 afonsojramos

See https://www.electronjs.org/docs/latest/api/context-bridge

setchy avatar Jan 29 '25 16:01 setchy