Disable no update notification
This commit is contained in:
parent
f6457a706d
commit
8ae74033ae
@ -1048,11 +1048,7 @@ if (!isLock) {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
autoUpdater.on('update-not-available', (event) => {
|
autoUpdater.on('update-not-available', (event) => {
|
||||||
const noUpdate = new Notification({
|
log.info("NO UPDATE")
|
||||||
title: 'Checking for update',
|
|
||||||
body: 'No update available, you are on latest version.'
|
|
||||||
})
|
|
||||||
noUpdate.show()
|
|
||||||
})
|
})
|
||||||
autoUpdater.on('download-progress', (progressObj) => {
|
autoUpdater.on('download-progress', (progressObj) => {
|
||||||
myWindow.webContents.send('downloadProgress', progressObj)
|
myWindow.webContents.send('downloadProgress', progressObj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user