Confirmed users
657
edits
| Line 43: | Line 43: | ||
The following needs to happen at Firefox startup time in order for the applied update to be used. | The following needs to happen at Firefox startup time in order for the applied update to be used. | ||
* Firefox checks for the manifest file in the installation directory. If it's not found, or its content does not equal "applied", then startup continues as normal. | * ''Firefox checks for the manifest file in the installation directory.'' If it's not found, or its content does not equal "applied", then startup continues as normal. | ||
* If the manifest file is found and its content is "applied", Firefox looks for the known <code>FIREFOX_NEW</code> directory. If that directory is not found, Firefox writes "failed: ERROR_CODE" to the manifest file and continues to startup as normal. | * If the manifest file is found and its content is "applied", Firefox looks for the known <code>FIREFOX_NEW</code> directory. If that directory is not found, Firefox writes "failed: ERROR_CODE" to the manifest file and continues to startup as normal. | ||
* If the <code>FIREFOX_NEW</code> is found, Firefox "replaces" the existing installation direcotry with the new <code>FIREFOX_NEW</code> directory, and removes the <code>FIREFOX_NEW</code> directory, and restarts using the new binary. The details of this phase depends on the platform, and is documented below. | * If the <code>FIREFOX_NEW</code> is found, Firefox "replaces" the existing installation direcotry with the new <code>FIREFOX_NEW</code> directory, and removes the <code>FIREFOX_NEW</code> directory, and restarts using the new binary. The details of this phase depends on the platform, and is documented below. | ||