Use same hazel endpoint to notify update to Linux users (#2497)

Add a pseudo auto-updater for Linux

Fixes #2476
This commit is contained in:
CHaBou 2017-11-29 14:26:24 +01:00 committed by GitHub
parent 59273ddb2a
commit 1fbc85760b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 114 additions and 33 deletions

View file

@ -34,7 +34,9 @@ const NotificationsContainer = connect(
Object.assign(state_, {
updateShowing: true,
updateVersion: ui.updateVersion,
updateNote: ui.updateNotes.split('\n')[0]
updateNote: ui.updateNotes.split('\n')[0],
updateReleaseUrl: ui.updateReleaseUrl,
updateCanInstall: ui.updateCanInstall
});
} else if (notifications.message) {
Object.assign(state_, {