Re:One line of code that did cost $8k
by BizarroLand on Tuesday May 09, 2023 @12:39PM
(#35876948)
Or you should have 2 channels of updates.
1 for Alpha/dev/beta testing, whatever, and 1 for "stable".
Allow users the option of being beta testers and getting updates every 3 hours, and if they do not opt in, they're put in the weekly update "stable" group that gets the most reliable and solid but up-to-date version of the app at that time.
What's so big deal in all this 3h vs 24h? It is still downloading it only once anyway and if there is no update the network call it makes is really 300 times more lightweight than opening google.com. I really don't understand this.
> this is how Electron auto updater works under the hood (checking for update = downloading it)
Electron auto updater seems too raw, for an app that has a decent size.
> I did change it now to 3 hours.
In my opinion, it is still too frequent. Ideally, the user should be able to set his preference and the app should have a less aggressive default (once a day seem more than enough for most cases).