Confirmed users
657
edits
No edit summary |
|||
| Line 25: | Line 25: | ||
** If the user needs to prompted for some reason, we show that prompt. If the user declines, we bail out. | ** If the user needs to prompted for some reason, we show that prompt. If the user declines, we bail out. | ||
** Otherwise, we go ahead and download the update (as a complete/partial MAR file) in the background. | ** Otherwise, we go ahead and download the update (as a complete/partial MAR file) in the background. | ||
* Once the download is finished, Firefox launches the updater binary in the background with the UI display disabled. | * Once the download is finished, Firefox launches the updater binary in the background with the UI display disabled. Searching for new updates will be paused during this time. | ||
** The target of the update will be known <code>FIREFOX_NEW</code> from now on. | ** The target of the update will be known <code>FIREFOX_NEW</code> from now on. | ||
*** On Windows, if Firefox is installed to "C:\path\to\Mozilla Firefox", <code>FIREFOX_NEW</code> will be "C:\path\to\Mozilla Firefox.new". | *** On Windows, if Firefox is installed to "C:\path\to\Mozilla Firefox", <code>FIREFOX_NEW</code> will be "C:\path\to\Mozilla Firefox.new". | ||
| Line 36: | Line 36: | ||
** If this directory exists, it will be removed. | ** If this directory exists, it will be removed. | ||
* The updater binary will go ahead and apply the update to the <code>FIREFOX_NEW</code> directory using the existing installation directory as the base. | * The updater binary will go ahead and apply the update to the <code>FIREFOX_NEW</code> directory using the existing installation directory as the base. | ||
* The updater binary will write a new manifest file to the existing installation | * The updater binary will write a new manifest file to the existing installation directory. | ||
* The updater binary will shutdown, and signal the Firefox main process. | |||
* The Firefox main process will resume searching for new updates. | |||