Bug 1432310 - Fix manual update URL for beta. r?glandium draft
authorPanos Astithas <past@mozilla.com>
Mon, 29 Jan 2018 16:02:45 -0800
changeset 749179 687867de0d6f5d6dec1e670d84c5b5ae3438cc05
parent 748372 c0f08b020685f67a7ea08658731adb410f70b7e6
push id97348
push userbmo:past@mozilla.com
push dateWed, 31 Jan 2018 02:51:19 +0000
reviewersglandium
bugs1432310
milestone60.0a1
Bug 1432310 - Fix manual update URL for beta. r?glandium MozReview-Commit-ID: J6O26SpwVJo
browser/branding/official/pref/firefox-branding.js
--- a/browser/branding/official/pref/firefox-branding.js
+++ b/browser/branding/official/pref/firefox-branding.js
@@ -4,22 +4,28 @@
 
 pref("startup.homepage_override_url", "");
 pref("startup.homepage_welcome_url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/firstrun/");
 pref("startup.homepage_welcome_url.additional", "");
 // Interval: Time between checks for a new version (in seconds)
 pref("app.update.interval", 43200); // 12 hours
 // Give the user x seconds to react before showing the big UI. default=192 hours
 pref("app.update.promptWaitTime", 691200);
-// URL user can browse to manually if for some reason all update installation
-// attempts fail.
+// app.update.url.manual: URL user can browse to manually if for some reason
+// all update installation attempts fail.
+// app.update.url.details: a default value for the "More information about this
+// update" link supplied in the "An update is available" page of the update
+// wizard.
+#if MOZ_UPDATE_CHANNEL == beta
+pref("app.update.url.manual", "https://www.mozilla.org/firefox/beta");
+pref("app.update.url.details", "https://www.mozilla.org/%LOCALE%/firefox/beta/notes");
+#else
 pref("app.update.url.manual", "https://www.mozilla.org/firefox/");
-// A default value for the "More information about this update" link
-// supplied in the "An update is available" page of the update wizard.
 pref("app.update.url.details", "https://www.mozilla.org/%LOCALE%/firefox/notes");
+#endif
 
 pref("app.releaseNotesURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew");
 
 // The number of days a binary is permitted to be old
 // without checking for an update.  This assumes that
 // app.update.checkInstallTime is true.
 pref("app.update.checkInstallTime.days", 63);