src/main.ts, the script running at the main Electron process, orchestrating the whole application;
src/rootWindow.ts, the script that renders the UI of the root window, the app's main window;
src/preload.ts, which runs in a privileged mode to connect the app and the webviews rendering Rocket.Chat's web client.
package.json.Like any other package depending project, only modules listed in
dependencieswill be included in the distributable final app.
servers.jsonfile will help define what servers the client will connect to. When specified, it will automatically populate the server list in the sidebar.
servers.jsonwith the install package, the file should be located in the root of the project application (same level as the
servers.jsonin the user preferences folder which will overwrite the packaged one. The file should be located in any of the directories listed below.