mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
[Pale Moon] Update the check for updates menu item logic for already staged automatic updates
This commit is contained in:
parent
9592fe29c8
commit
254714d53b
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,7 @@ function checkForUpdates()
|
|||
// If there's an update ready to be applied, show the "Update Downloaded"
|
||||
// UI instead and let the user know they have to restart the application for
|
||||
// the changes to be applied.
|
||||
if (um.activeUpdate && um.activeUpdate.state == "pending")
|
||||
if (um.activeUpdate && ["pending", "pending-elevate", "applied"].includes(um.activeUpdate.state))
|
||||
prompter.showUpdateDownloaded(um.activeUpdate);
|
||||
else
|
||||
prompter.checkForUpdates();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue