Skip to content

The preload preload failed. #6575

Answered by GytisCepk
MYDJH asked this question in Q&A
Apr 2, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MYDJH
Comment options

Answer selected by MYDJH
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