We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b40a16 commit 1b72d83Copy full SHA for 1b72d83
1 file changed
apps/array/src/main/services/updates/service.ts
@@ -76,6 +76,17 @@ export class UpdatesService extends TypedEventEmitter<UpdatesEvents> {
76
return { success: false, error: "Already checking for updates" };
77
}
78
79
+ // If an update is already downloaded and ready, show the prompt again
80
+ // instead of checking (which would incorrectly report "up to date")
81
+ if (this.updateReady) {
82
+ log.info("Update already downloaded, showing prompt again", {
83
+ downloadedVersion: this.downloadedVersion,
84
+ });
85
+ this.pendingNotification = true;
86
+ this.flushPendingNotification();
87
+ return { success: true };
88
+ }
89
+
90
this.checkingForUpdates = true;
91
this.emitStatus({ checking: true });
92
this.performCheck();
0 commit comments