Skip to content

Commit

Permalink
Fix bug on some OS versions on about window, closes #427
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrazier committed May 5, 2017
1 parent 25fe1e9 commit fa1f137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/autoUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function checkForUpdates () {
updateFile.autoUpdate = autoUpdate;
userDataDir.write(updateStoreFile, updateFile, { atomic: true });
} else if (autoUpdate === 'auto') {
e.returnValue = updateFile.autoUpdate;
e.returnValue = !!updateFile.autoUpdate;
} else {
checkForUpdatesEvent = e;
autoUpdater.checkForUpdates();
Expand Down

0 comments on commit fa1f137

Please sign in to comment.