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:
committed by
Junyoung Choi
parent
85d09b3b3d
commit
3b5eff582a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user