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

Include current version in update check explicitly #2967

Merged
merged 2 commits into from
Jan 17, 2017

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 17, 2017

Hopefully fix #2847

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

So what's this for? are you planning on something server-side which will make use of this?

Anyway, LGTM modulo stupid questions.

// it anywhere (apart from the User-Agent) so it's up to us. We could
// (and previously did) just use the User-Agent, but this doesn't
// rely on NSURLConnection setting the User-Agent to what we expect,
// and also acts as a convenient cache-buster between versions.
Copy link
Member

Choose a reason for hiding this comment

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

surely a cache-buster which depends on the current local version doesn't help?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, was trying to say that it would make sure a new version of the app did a new hit. Have clarified the comment.

@richvdh richvdh assigned dbkr and unassigned richvdh Jan 17, 2017
@dbkr
Copy link
Member Author

dbkr commented Jan 17, 2017

Yep, currently it uses the value in the User-Agent so I'll migrate it over to use this.

@dbkr dbkr merged commit 6257019 into develop Jan 17, 2017
@t3chguy t3chguy deleted the dbkr/include_version_in_update_check branch May 12, 2022 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Electron can get stuck insisting that you update
2 participants