fix error thrown when update happens (#7256)

This commit is contained in:
Prospector
2026-08-20 22:57:51 +00:00
committed by GitHub
parent ba667921d1
commit 237963bb35
+2 -3
View File
@@ -1602,9 +1602,8 @@ async function downloadUpdate(versionToDownload) {
.then(() => { .then(() => {
downloading.value = false downloading.value = false
finishedDownloading.value = true finishedDownloading.value = true
unlistenUpdateDownload?.().then(() => { unlistenUpdateDownload?.()
unlistenUpdateDownload = null unlistenUpdateDownload = null
})
console.log('Finished downloading!') console.log('Finished downloading!')
markAppUpdateActionable(versionToDownload.version, 'downloaded') markAppUpdateActionable(versionToDownload.version, 'downloaded')
scheduleDelayedUpdatePopup() scheduleDelayedUpdatePopup()