mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +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')
|
ipcRenderer.send('update-check', 'check-update')
|
||||||
window.addEventListener('online', function() {
|
window.addEventListener('online', function() {
|
||||||
if (!store.getState().status.updateReady) {
|
if (!store.getState().status.updateReady) {
|
||||||
|
|||||||
Reference in New Issue
Block a user