mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Show the update UI instantly instead of after 10 minutes of inactivity
This commit is contained in:
parent
85e68b684f
commit
9592fe29c8
1 changed files with 4 additions and 9 deletions
|
|
@ -3498,8 +3498,8 @@ UpdatePrompt.prototype = {
|
|||
return;
|
||||
}
|
||||
|
||||
this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null,
|
||||
UPDATE_WINDOW_NAME, "updatesavailable", update);
|
||||
this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
|
||||
UPDATE_WINDOW_NAME, "updatesavailable", update);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -3515,13 +3515,8 @@ UpdatePrompt.prototype = {
|
|||
if (this._getAltUpdateWindow())
|
||||
return;
|
||||
|
||||
if (background) {
|
||||
this._showUnobtrusiveUI(null, URI_UPDATE_PROMPT_DIALOG, null,
|
||||
UPDATE_WINDOW_NAME, "finishedBackground", update);
|
||||
} else {
|
||||
this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
|
||||
UPDATE_WINDOW_NAME, "finishedBackground", update);
|
||||
}
|
||||
this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
|
||||
UPDATE_WINDOW_NAME, "finishedBackground", update);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue