White Label Your Desktop App
    • Dark
      Light
    • PDF

    White Label Your Desktop App

    • Dark
      Light
    • PDF

    Article summary

    Whitelabeling Rocket.Chat desktop app lets you customize the branding and appearance to match your organization's identity.

    This document provides a step-by-step process for white labeling your app. To follow the instructions, you must have a basic understanding of Git, Node.js, JavaScript, and Electron.

    Theming for Rocket.Chat is still under development. You can follow the discussion to learn more about it.

    Assets

    Commonly, the primary adjustment is altering icons. Some specific folders in your root project directory where assets can be customized include:

    ./src/ui/icons/
    ./src/ui/assets/

    Take caution as these files are React components, so ensure that you modify them correctly. When the changes are done, generate your new files by running this command:

    yarn build-assets

    Tray icon

    There are two options for customizing the TrayIcon:

    1. Navigate to public/images/tray to review and potentially modify the icons used by the application.

    2. Alternatively, open and modify ui/icon/AppIcon.tsx. This is the icon base for automatically generating all the icons. If you're familiar with tsx/jsx, this might be the more straightforward approach to take.

    After making the changes, run this command:

    yarn build-assets 

    Configure notification preferences to stay in tune with notifications in your workspace

    About screen

    To change this screen, navigate to ./src/ui/components/AboutDialog/index.tsx - you can also change the copyright. If you've changed the logo already, it will automatically reflect on this page.

    const copyright = `© 2016-${new Date().getFullYear()}, Rocket.Chat`;

    Building and packaging

    We use electron-builder to "compile" and produce the executable files. To make any updates, check the file electron-builder.json. Update all references to the term rocket.chat/rocket/chat.rocket/rocketchat based on the context of each setting.

    After making any change in the configuration, build a new release by running these commands:

    yarn build
    yarn release

    See the GitHub repository for more information on configuring CI/CD.


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence