Bug 1370576 - Change app.update.staging.enabled preference to false on Windows to disable update staging. r=mhowell

A change in Windows 10 Creators update is preventing Firefox from launching properly when a staged update's replace request is performed. Since staging updates doesn't provide a significant time on Windows this patch disables it via its preference. See bug 1368600 for additional information and this will likely fix bug 1368600 as well.
This commit is contained in:
Robert Strong 2017-06-13 08:26:51 -07:00
parent adb013669b
commit 4be287fced

View File

@ -159,7 +159,11 @@ pref("app.update.silent", false);
// If set to true, the Update Service will apply updates in the background
// when it finishes downloading them.
#ifdef XP_WIN
pref("app.update.staging.enabled", false);
#else
pref("app.update.staging.enabled", true);
#endif
// Update service URL:
pref("app.update.url", "https://aus5.mozilla.org/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");