1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00

Update not found message

This commit is contained in:
Gonçalo Santos
2020-05-14 19:15:51 +01:00
committed by Junyoung Choi
parent 85d09b3b3d
commit 3b5eff582a

View File

@@ -152,6 +152,12 @@ ReactDOM.render(
})
})
ipcRenderer.on('update-not-found', function(_, msg) {
notify('Update not found!', {
body: msg
})
})
ipcRenderer.send('update-check', 'check-update')
window.addEventListener('online', function() {
if (!store.getState().status.updateReady) {