6/12/2023 0 Comments Find stretchly config fileThis 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. If you are looking for how to develop a plugin please check plugin developers documentation.Ī basic Electron app is composed of a main process and a renderer process. ⚠️ 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 Ĭ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're using the deb executable: dpkg -i Then, you can install the executable by running the following command: To do so, open the terminal and run the following command: ![]() If you're a linux user, you might need to grant execution permissions to the executable. Note: in CI we use yarn build as there is an action to package and publish the executables Install dependencies with yarn: yarn -force 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. ctrl+: navigate through the results using vim-like keys (Also ctrl+o to select the result).ctrl+1.9: select directly a result from the list.ctrl+c: copy the result from a plugin to the clipboard, if the plugin does not provida a result, the term you introduced will be copied.If you're interested in creating your own plugin, check the plugins documentation.Ĭerebro provides several shortcuts to improve your productivity: You can manage and install more plugins by typing plugins in the Cerebro search bar.ĭiscover plugins and more at Cerebro's Awesome List. Navigate the file system with file previews (i.e.Search the web with your favourite search engine.You can customize this shortcut by clicking on the icon in the menu bar, and then selecting "Preferences.". If you are a linux user see how to install the executableĪfter the installation, use the default shortcut, ctrl+space, to show the app window. ![]()
0 Comments
Leave a Reply. |