At least since I've been using Rocket.Chat which was 3 years ago now. This issue has been around a very long time. After updated is downloaded, the installer is started and the user is notified.
#ROCKETCHAT UPDATE UPDATE#
Update installer file is downloaded to "C:\Users\AppData\Local\rocket-chat-updater\pending"įile is called "temp-rocketchat-setup-2.17.11.exe No notification occurs, no update is installed User is notified that there's an update available and clicks on "INSTALL UPDATE"ĭialog pops up letting user know they'll be notified when update is ready to be installed
#ROCKETCHAT UPDATE INSTALL#
User is prompted and informed that install will proceed once new client is downloaded. I have tested with the latest versionĪutomatic update doesn't work.
If you can't (or don't want to) bundle the file inside the app, you can create a servers.json in the user preferences folder which will overwrite the packaged one. Note that the servers.json will only be checked if no other servers have already been added, even if you uninstall the app without removing older preferences, it will not be triggered again. If the file is found, the initial "Connect to server" screen will be skipped and it will attempt to connect to the first server in the array that has been defined and drop the user right at the login screen. You can bundle a servers.json with the install package, the file should be located in the root of the project application (same level as the package.json). You will need to install the following packages: Troubleshooting node-gypįollow the installation instruction on node-gyp readme. Only modules listed in dependencies will be included into distributable app. Remember to respect the split between dependencies and devDependencies in package.json file. Src/rootWindow.ts, the script that renders the UI of the root window, the app's main window Īnd src/preload.ts, which runs in a privileged mode to connect the app and the webviews rendering Rocket.Chat's web client. Src/main.ts, the script running at the main Electron process, orchestrating the whole application There are three entry files for your code: The build process is founded upon rollup bundler. TypeScriptįollowing the ongoing changes in Rocket.Chat codebase, the app was rewritten in TypeScript 4 to address issues regarding maintainability.
The build process compiles all stuff from the src folder and puts it into the app folder, so after the build has finished, your app folder contains the full, runnable application. Everything in this folder will be built automatically when running the app with yarn start.