Skip to content

Commit cf92e7f

Browse files
committed
Clarify comment
1 parent 3b109f7 commit cf92e7f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎electron/src/electron-main.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ function startAutoUpdate(update_base_url) {
116116
// it anywhere (apart from the User-Agent) so it's up to us. We could
117117
// (and previously did) just use the User-Agent, but this doesn't
118118
// rely on NSURLConnection setting the User-Agent to what we expect,
119-
// and also acts as a convenient cache-buster between versions.
119+
// and also acts as a convenient cache-buster to ensure that when the
120+
// app updates it always gets a fresh value to avoid update-looping.
120121
electron.autoUpdater.setFeedURL(
121122
update_base_url +
122123
'macos/?localVersion=' + encodeURIComponent(electron.app.getVersion())

0 commit comments

Comments
 (0)