mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
fix
This commit is contained in:
parent
a78c375b90
commit
628d8eb5dc
@ -471,7 +471,9 @@ autoUpdater.on('checking-for-update', () => {
|
||||
autoUpdater.on('update-available', info => {
|
||||
console.log('Update available', info);
|
||||
changeAppUpdateStatus(`New version ${info.version} available`);
|
||||
mainWindow.webContents.send('update-available', info.version);
|
||||
if (!autoUpdater.autoDownload) {
|
||||
mainWindow.webContents.send('update-available', info.version);
|
||||
}
|
||||
});
|
||||
|
||||
autoUpdater.on('update-not-available', info => {
|
||||
|
Loading…
Reference in New Issue
Block a user