feat(updater): add setting to disable automatic updates - #3201
feat(updater): add setting to disable automatic updates#3201nicholas-ochoa wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Thanks for contributing.
I'd like to explore, if possible, how we could better detect if it's installed via homebrew (i believe they already have this capability).
I'd really like to keep users as close to the latest mainline release. Is there something better we could offer than disabling auto updates completely?
|
Detecting if gitify was installed via Homebrew is possible. How do you feel about only showing the checkbox when a package manager install is detected? I'm not sure about what other approaches can be taken, I'm open to any ideas on a different direction to take with this PR. I'm just trying to solve my original issue with the frequent notifications popping up that are not needed (since Homebrew is updating it, in my case). |
|
I'd say that no checkbox needs to exist. We can just disable it when we detect that it was indeed installed via a package manager. Right? |
|
That approach would work for me |
…brew only) which determines if the automatic update is disabled
|
I've reworked the PR a bit. It now detects if Gitify was installed via Homebrew (it should be flexible enough to add support for other package managers on Linux pretty easily). If a package manager install is detected, the automatic update check / notification is disabled and the tray menu just shows a disabled "Updates managed by Homebrew" entry so users aren't confused on why the menu option isn't displayed. |
Add a new setting that allows users to disable automatic updates
Fixes #3181