From b39d3137760dd4f4549cb4f75552c1c8648075f7 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Fri, 2 Sep 2016 03:43:45 -0400 Subject: [PATCH] Make upgrade send user to MSI on Win or lbry.io/get for unknown OSes --- js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 1c3a6fa7f..c2fc77148 100644 --- a/js/app.js +++ b/js/app.js @@ -41,8 +41,12 @@ var App = React.createClass({ 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 { + } else if (versionInfo.os_system == 'Linux') { var updateUrl = 'https://lbry.io/get/lbry.deb'; + } else if (versionInfo.os_system == 'Windows') { + var updateUrl = 'https://lbry.io/get/lbry.msi'; + } else { + var updateUrl = 'https://lbry.io/get'; } if (window.confirm(message))