yangjie #49

Merged
yangqiang merged 71 commits from yangjie into master 2025-03-10 14:21:26 +08:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit f438a90c76 - Show all commits

View File

@ -770,9 +770,7 @@ function updateHandle() {
}) })
autoUpdater.on('update-available', function (info) { autoUpdater.on('update-available', function (info) {
let messageStr = JSON.stringify({ type: '0' }) let messageStr = JSON.stringify({ type: '0' })
setTimeout(() => {
sendUpdateMessage(messageStr) sendUpdateMessage(messageStr)
}, 2000)
mainWindow.webContents.send('changeLocalStorage', { mainWindow.webContents.send('changeLocalStorage', {
isUpdate: true, isUpdate: true,
}); });