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) => {
|
||||
const noUpdate = new Notification({
|
||||
title: 'Checking for update',
|
||||
body: 'No update available, you are on latest version.'
|
||||
})
|
||||
noUpdate.show()
|
||||
log.info("NO UPDATE")
|
||||
})
|
||||
autoUpdater.on('download-progress', (progressObj) => {
|
||||
myWindow.webContents.send('downloadProgress', progressObj)
|
||||
|
Loading…
x
Reference in New Issue
Block a user