Skip to content
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

(almost) always be updating #2381

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

shiftkey
Copy link
Member

@shiftkey shiftkey commented Aug 1, 2017

Fixes #2373 by ignoring requests to check for updates when the app has downloaded and applied an update and is ready for restarting.

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Aug 1, 2017
@joshaber joshaber self-assigned this Aug 1, 2017
Copy link
Contributor

@joshaber joshaber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// An update has been downloaded and the app is waiting to be restarted.
// Checking for updates again may result in the running app being nuked
// when it finds a subsequent update.
if (this.status === UpdateStatus.UpdateReady) {

This comment was marked as spam.

@shiftkey
Copy link
Member Author

shiftkey commented Aug 1, 2017

🍎

@joshaber joshaber merged commit dbfb0d3 into desktop:master Aug 1, 2017
@shiftkey shiftkey deleted the ignore-update-checks-when-ready branch August 6, 2017 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants