Commit graph

9 commits

Author SHA1 Message Date
Andy Balaam
0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Telatynski
23fac479fe
Switch macOS update mechanism to static JSON mode (#461) 2022-12-05 12:41:13 +00:00
Michael Telatynski
d0e1596bf2
Enable Typescript strict mode (#426) 2022-10-13 12:42:33 +01:00
Michael Telatynski
4f11398539
Fix manual update checks not working after being dismissed (#388) 2022-07-12 07:23:51 +01:00
Matthew Hodgson
c23c3bdf03 lint 2022-07-03 16:41:51 +01:00
Matthew Hodgson
45a9156127 Don't check for updates if we already have one downloaded and queued
This is a punt at fixing https://github.com/vector-im/element-web/issues/12433,
on the assumption that multiple update checks might collide with a
download which are already queued to install.  It also avoids repeatedly
re-downloading the same update on every check, as per the Note: on
https://github.com/electron/electron/blob/main/docs/api/auto-updater.md#autoupdatercheckforupdates

However, it means that you may have to upgrade twice if you wait more than 24h to install
a new build - and if you cancel an upgrade prompt, you'll have to either restart
the app or explicitly check for a new version to get upgrades working again.
However, this is less annoying than having the app fail to relaunch after upgrading.
2022-07-03 16:38:20 +01:00
David Baker
e4afc40887 Revert to generic update path for universal builds 2021-08-06 22:47:37 +01:00
Michael Telatynski
397bc66522 fix ts linting and delint the world 2021-07-01 09:22:57 +01:00
Michael Telatynski
53e7100033 Initial Typescripting for Element Desktop 2021-06-25 14:35:58 +01:00
Renamed from src/updater.js (Browse further)