Rocket.chat.electron: Disable update reminder

Created on 18 May 2017  路  8Comments  路  Source: RocketChat/Rocket.Chat.Electron

My Setup

  • __My OS name and version__: Windows Server 2008 R2
  • __My current app version__: 2.7.0



  • [ ] I have tested with the latest application version

  • [x] I can simulate the issue easily

Description


When I start the app, a window appears to remind me to install the new version of the client.
I have installed Rocket.Chat on a Terminal Server and every user is getting this reminder. But they don't have the permission to install updates. They are really confused. :-)

There should be a possibility to disable this reminder for all users on a certain workstation/server (By registry key or global config file (could be related to #139)?).

Most helpful comment

@flauschi you can also disable permanently updates using the update file:

{
  "autoUpdate": false
}

I have also create a PR which will allow this file to be created in the install directory for all users.

All 8 comments

Additionally, it would be even better if there was an installation/registry switch to disable this centrally, not per each computer.

If you choose to skip the update, a json file is created in the user's appdata folder - if you push this file to all users with a script or group policy you can suppress the update check. There should obviously be a proper solution but this will work in the mean time.

This is correct. It works as a temporary workaround. But it only works until the next version is released (or I guess the future version numbers).

@flauschi you can also disable permanently updates using the update file:

{
  "autoUpdate": false
}

I have also create a PR which will allow this file to be created in the install directory for all users.

@alexbrazier Thanks, it works!

@alexbrazier Thanks for your pr! Where do i need to put the file ? Inside the "resources" folder, like the servers.json ? Or in the root folder of rocketchat ?

@johnyb0y you can either put the file in the app data directory (in the rocket chat folder) or in the install directory.

This is a runtime config, and is currently not built with the installer. This may change (see #523)

Thank you. Yeah, i was talking about the "All Users" installation in %Program Files%\rocketchat+.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dryabchenko picture dryabchenko  路  5Comments

samcarter8 picture samcarter8  路  3Comments

Sugaroverdose picture Sugaroverdose  路  3Comments

agentirons picture agentirons  路  4Comments

wrwrwrr picture wrwrwrr  路  4Comments