-
Beta Was this translation helpful? Give feedback.
Answered by
GytisCepk
Apr 2, 2024
Replies: 1 comment 1 reply
-
Preloading is not available when using If you're interested in setting up communication between your renderer and main processes, I recommend looking into using iTwin.js IPC. "Implementing Ipc Interfaces" will explain how to setup communication using your custom IPC Interface and If you have further questions, let us know. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MYDJH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preloading is not available when using
ElectronHost.openMainWindow(...)
.If you're interested in setting up communication between your renderer and main processes, I recommend looking into using iTwin.js IPC. "Implementing Ipc Interfaces" will explain how to setup communication using your custom IPC Interface and
IpcHandler
. If you still want to set up your own Electron IPC communication, you should try doing it outside preload.If you have further questions, let us know.