File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
apps/array/src/main/services/updates Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,17 @@ export class UpdatesService extends TypedEventEmitter<UpdatesEvents> {
7676 return { success : false , error : "Already checking for updates" } ;
7777 }
7878
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+
7990 this . checkingForUpdates = true ;
8091 this . emitStatus ( { checking : true } ) ;
8192 this . performCheck ( ) ;
You can’t perform that action at this time.
0 commit comments