klaudiosinani / ao

Elegant Microsoft To-Do desktop app
https://klaussinani.github.io/ao
MIT License
2.1k stars 198 forks source link

Provide more options for update check frequency #50

Open thorpj opened 5 years ago

thorpj commented 5 years ago

Is your feature request related to a problem? Please describe. At the moment, the "update available" window appears at least once a day

Describe the solution you'd like Provide more options for update check frequency, including a never check option. Potentially also move the notification to an integrated system notification, or an alert within the main ao window. Alternatively, use existing package management systems. e.g. apt or snap.

Additional context $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic

~$ snap list Name Version Rev Tracking Publisher Notes ao 5.6.0 10 stable klaussinani -

Having this window pop up at least once every day, per device the user has AO installed on can quickly become annoying. There is no pressing need to have this application updated so often - the user should not badgered into

A workaround exists to disable update checks by running in developer mode: if (!isDevMode) { setInterval(() => { update.autoUpdateCheck(); }, ms(config.get('updateCheckPeriod'))); } });

thorpj commented 5 years ago

I have made some changes to provide more options (3d, 1w, 2w, 4w, never) and changed the default to 1w. The default will probably require some discussion, but I am confident that no one wants to to see that prompt every two hours, which is the current default.

thorpj commented 5 years ago

https://github.com/thorpj/ao/commit/1e9f54fadc17c9eefae37f8d9c8f07cdc276b824

tiagobnobrega commented 5 years ago

Also... For me, the popup shows up even though I'm @ 5.6.0 which is github's latest release.

snap list: Name Version Rev Tracking Publisher Notes ao 5.6.0 10 stable klaussinani -

muojp commented 5 years ago

@tiagobnobrega hi. it's because update detection feature is currently broken. Ref: #49