[FAQ] How does io.Connect Desktop use Electron to create and manage windows?

Question

How does Electron interact with io.Connect Desktop and the code we modify? Where is the code responsible for creating and displaying the application window?

Answer

Io.Connect Desktop uses Electron to create and manage windows. Electron’s main process is responsible for creating windows, while the renderer process handles the display of your application’s content. The window creation logic lives in the platform’s Electron main process. It uses Electron’s built-in capabilities to instantiate the window, apply configuration options and load your app’s content.

  • What you can change: your app’s code (the UI/business logic that renders inside the window) and the way the platform launches/displays it via your app definition (URL, size, mode, buttons, docking, channel selector, etc.).
  • What you can’t change: the platform’s Electron bootstrapping and window-creation internals. That’s part of the product.

From your code, you can still control the window at runtime through the Window Management API.

If you change configuration files (like app definitions), the platform reads them on startup so restart is needed to pick them up in production.

What to check next:

1 Like