Merge pull request #1649 from lbryio/autoupdate-fixes
Autoupgrade fixes
This commit is contained in:
commit
e22e9ce4ee
3 changed files with 3 additions and 6 deletions
|
@ -113,10 +113,6 @@ document.addEventListener('click', event => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const init = () => {
|
const init = () => {
|
||||||
autoUpdater.on('update-downloaded', () => {
|
|
||||||
app.store.dispatch(doAutoUpdate());
|
|
||||||
});
|
|
||||||
|
|
||||||
autoUpdater.on('error', error => {
|
autoUpdater.on('error', error => {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.error(error.message);
|
console.error(error.message);
|
||||||
|
|
|
@ -30,6 +30,7 @@ class ModalAutoUpdateConfirm extends React.PureComponent {
|
||||||
<p className="meta text-center">
|
<p className="meta text-center">
|
||||||
{__('Want to know what has changed?')} See the{' '}
|
{__('Want to know what has changed?')} See the{' '}
|
||||||
<Button
|
<Button
|
||||||
|
button="link"
|
||||||
label={__('release notes')}
|
label={__('release notes')}
|
||||||
href="https://github.com/lbryio/lbry-app/releases"
|
href="https://github.com/lbryio/lbry-app/releases"
|
||||||
/>.
|
/>.
|
||||||
|
|
|
@ -5564,9 +5564,9 @@ lazy-val@^1.0.3:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/lazy-val/-/lazy-val-1.0.3.tgz#bb97b200ef00801d94c317e29dc6ed39e31c5edc"
|
resolved "https://registry.yarnpkg.com/lazy-val/-/lazy-val-1.0.3.tgz#bb97b200ef00801d94c317e29dc6ed39e31c5edc"
|
||||||
|
|
||||||
lbry-redux@lbryio/lbry-redux#be7a07302aab0c5fc40f8c76cff524c7bce327a2:
|
lbry-redux@lbryio/lbry-redux#201d78b68a329065ee5d2a03bfb1607ea0666588:
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/be7a07302aab0c5fc40f8c76cff524c7bce327a2"
|
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/201d78b68a329065ee5d2a03bfb1607ea0666588"
|
||||||
dependencies:
|
dependencies:
|
||||||
proxy-polyfill "0.1.6"
|
proxy-polyfill "0.1.6"
|
||||||
reselect "^3.0.0"
|
reselect "^3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue