Clarify comment

This commit is contained in:
David Baker 2017-01-17 14:04:42 +00:00
parent 3b109f7612
commit cf92e7f64b

View file

@ -116,7 +116,8 @@ function startAutoUpdate(update_base_url) {
// 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.
// and also acts as a convenient cache-buster to ensure that when the
// app updates it always gets a fresh value to avoid update-looping.
electron.autoUpdater.setFeedURL(
update_base_url +
'macos/?localVersion=' + encodeURIComponent(electron.app.getVersion())