To interact with the frontend or web view, you must create renderer plugins, which are specifically designed for the renderer proces
Deskofy Framework
Main Plugins
Main plugins allow you to customize, extend, or enhance the main process of the Deskofy application. These plugins have full access to the Electron API, enabling you to add new capabilities or modify existing behavior. Each main plugin must follow a specific structure:
When the file follows this structure, Deskofy will automatically identify and inject the plugin into the main process. There is no limit to the number of plugins you can create.
Main plugins operate on the backend side of the Deskofy application and run within the main process. They do not have direct access to the web view.
This approach allows developers to extend the core Deskofy functionality safely and efficiently.
Here is a sample main plugin example. In this example, a new window is created whenever the main window is initialized: