diff --git a/dist.zip b/dist.zip index 3d8e38a8f..2c72eaf93 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/js/app.js b/js/app.js index e44359b9c..69a2f41f7 100644 --- a/js/app.js +++ b/js/app.js @@ -32,11 +32,10 @@ var App = React.createClass({ // On OS X with version <= 0.2.2, we need to notify user to close manually close LBRY message += '\n\nBefore installing the new version, make sure to exit LBRY, if you started the app ' + 'click that LBRY icon in your status bar and choose "Quit."'; - } else { - lbry.stop(); } if (window.confirm(message)) { + lbry.stop(); window.location = 'http://www.lbry.io/get'; }; }); diff --git a/js/lbry.js b/js/lbry.js index b410f616b..79750870b 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -142,7 +142,7 @@ lbry.checkNewVersionAvailable = function(callback) { var remoteMaj, remoteMin, remotePatch; [remoteMaj, remoteMin, remotePatch] = versionInfo.remote_lbrynet.split('.'); - var newVersionAvailable = (maj < remoteMaj || min < remoteMin || patch < remotePatch); + var newVersionAvailable = !(maj >= remoteMaj && min >= remoteMin && patch >= remotePatch); callback(newVersionAvailable); }, function(err) { if (err.fault == 'NoSuchFunction') {