Skip to content

Include current version in update check explicitly#2967

Merged
dbkr merged 2 commits intodevelopfrom
dbkr/include_version_in_update_check
Jan 17, 2017
Merged

Include current version in update check explicitly#2967
dbkr merged 2 commits intodevelopfrom
dbkr/include_version_in_update_check

Conversation

@dbkr
Copy link
Copy Markdown
Member

@dbkr dbkr commented Jan 17, 2017

Hopefully fix #2847

Copy link
Copy Markdown
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.

Comment thread electron/src/electron-main.js Outdated
// 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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