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(() => {
downloading.value = false
finishedDownloading.value = true
unlistenUpdateDownload?.().then(() => {
unlistenUpdateDownload = null
})
unlistenUpdateDownload?.()
unlistenUpdateDownload = null
console.log('Finished downloading!')
markAppUpdateActionable(versionToDownload.version, 'downloaded')
scheduleDelayedUpdatePopup()