Bug 795479: Add the update channel pref to b2g.js, and use it in the update URL. r=cjones

--HG--
extra : rebase_source : 713928705bcd3601fe75960173582bf6875c14b3
This commit is contained in:
Marshall Culpepper 2012-09-28 17:03:05 -05:00
parent 984f27a79d
commit c78978fd20

View File

@ -464,7 +464,9 @@ pref("app.update.staging.enabled", true);
pref("app.update.service.enabled", true);
// The URL hosting the update manifest.
pref("app.update.url", "http://update.boot2gecko.org/nightly/update.xml");
pref("app.update.url", "http://update.boot2gecko.org/%CHANNEL%/update.xml");
pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@");
// Interval at which update manifest is fetched. In units of seconds.
pref("app.update.interval", 86400); // 1 day
// First interval to elapse before checking for update. In units of