Skip to content

Has anyone been able to send an IPC event from the UI app back to NX Electron's main thread? #182

Answered by bennymeg
keypuncherlabs asked this question in Q&A
Discussion options

You must be logged in to vote

I have opted to ship the default app with some security measures (which can be disabled if you wish).
Follow this article to define a context bridge (inside of the preload script) between the IPC main and the IPC renderer (there are some example functions defined as an example).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@keypuncherlabs
Comment options

@bennymeg
Comment options

Answer selected by keypuncherlabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants