Skip to content

Commit ac8d04e

Browse files
authored
Merge pull request RocketChat#440 from RocketChat/bugfix/about
Fix bug on some OS versions on about window, closes RocketChat#427
2 parents 462c747 + fa1f137 commit ac8d04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/background/autoUpdate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function checkForUpdates () {
121121
updateFile.autoUpdate = autoUpdate;
122122
userDataDir.write(updateStoreFile, updateFile, { atomic: true });
123123
} else if (autoUpdate === 'auto') {
124-
e.returnValue = updateFile.autoUpdate;
124+
e.returnValue = !!updateFile.autoUpdate;
125125
} else {
126126
checkForUpdatesEvent = e;
127127
autoUpdater.checkForUpdates();

0 commit comments

Comments
 (0)