New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: tray & app menu item "Check for Updates..." #62
Conversation
// TODO: replace this with autoUpdater.checkForUpdatesAndNotify() | ||
autoUpdater.checkForUpdates() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This todo comment is coming from the original source code. I am not sure if it's still relevant. Do you remember @lidel why you would like to switch from autoUpdater.checkForUpdates()
to autoUpdater.checkForUpdatesAndNotify()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vaguely remember that the rationale was that it is less code to maintain, and that meant smaller surface for breaking autoupdates when upstream APIs change in subtle ways (happened in the past)
9f35655
to
289ca2e
Compare
@juliangruber I addressed your feedback in 172bf3b.
LGTY now? |
When the check is running, replace "Check for Updates" with a disabled item "Checking for Updates". Signed-off-by: Miroslav Bajtoš <saturn@bajtos.net>
af82612
to
97373e2
Compare
Add "Check for Updates..." to the Tray menu. On macOS, add this item to the Application menu too. While the check is running, replace "Check for Updates" with a disabled item "Checking for Updates".
See #53
The implementation is heavily inspired by IPFS Desktop:
Out of scope
Screenshots
A new macOS application menu item:
While checking for updates:
A new Tray menu item:
While checking for updates:
Various dialogs shown by the app:
The annoying notification we should remove later: