DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
69 stars 9 forks source link

Desktop Client: New Release / Update notification #110

Closed teon closed 5 months ago

teon commented 7 months ago

Defguard is heavily under development, new core features arriving each month. In order to promote updates we need a way to check if there are new versions available and notify the user. Proposed mechanism:

  1. The client on each startup checks the URL: https://pkgs.defguard.net/update/check by POSTing to that URL:
    • product: client
    • client version
    • operating system

and gets in return a JSON with:

  1. If a new version is available to update there should be a modal with the information returned from the update service

  2. There should be a way to disable automatic update checks in the settings: Check for updates (On/Off) - default on.

  3. Check for updates:

    • each client launch
    • if client is working >=12h check (every 12h)
  4. Documentation

Add to documentation "Client update" section - and inform that during the "check for update" we send to our update service in order to perform check if new version is available:

4lb commented 7 months ago

Design in Figma -> Desktop Client -> update available (component frame)

teon commented 6 months ago

@blazej-teonite in core we have checking / scheduling / periodic task for cleaning stats so it can be used