Make upgrade send user to MSI on Win or lbry.io/get for unknown OSes
This commit is contained in:
parent
3043574608
commit
b39d313776
1 changed files with 5 additions and 1 deletions
|
@ -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 ' +
|
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."';
|
'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';
|
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))
|
if (window.confirm(message))
|
||||||
|
|
Loading…
Reference in a new issue