![]() ![]() Their initializeAsync method is executed in the background process. This is the way we implement the plugins system. When we need to execute a long task we send a message to the background process, which executes the task asynchronously and sends a message back to the main renderer when the task is completed. This two-renderer process architecture is used to keep the main renderer process (Cerebro) responsive and to avoid blocking the UI when executing long tasks. The build process is managed by electron-builder. app/background/background.js as a secondary renderer processĪll this files are bundled and transpiled with Webpack and Babel.app/main/main.js as the main renderer process. ![]() The main process is responsible for the app lifecycle, the renderer process is responsible for the UI. General architectureĪ basic Electron app is composed of a main process and a renderer process. If you are looking for how to develop a plugin please check plugin developers documentation. ⚠️ NOTE: This document is for Cerebro developers. ![]() In this document you will find information about how Cerebro works and how to contribute to the project. or sudo dpkg -i ContributingĬerebroApp is an open source project and we welcome contributions from the community. On some computers you might need run these commands with elevated privileges (sudo). If you'd like to install a version of Cerebro, but the executable hasn't been released, you can follow these instructions to build it from source: If you're not sure what you're doing, don't edit the config file directly. ⚠️ A bad configuration file can break Cerebro. MacOS: ~/Library/Application Support/Cerebro/config.json Linux: $XDG_CONFIG_HOME/Cerebro/config.json or ~/.config/Cerebro/config.json ![]() You can find the config file in the following path depending on your OS: There you will be able to change the Theme.Ĭurrently Light and Dark Themes are supported out of the box Use the shortcut ctrl+space to open the app window, and type Cerebro Settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |