mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 559674 - Put the xpi type (dev/rel) in the updated url [r=mconnor]
Add two constants: WEAVE_CHANNEL and UPDATED_URL that get preprocessed with @xpi_type@.
This commit is contained in:
parent
885cffdc6b
commit
2d05ad5684
@ -37,6 +37,7 @@
|
||||
// Process each item in the "constants hash" to add to "global" and give a name
|
||||
let EXPORTED_SYMBOLS = [((this[key] = val), key) for ([key, val] in Iterator({
|
||||
|
||||
WEAVE_CHANNEL: "@xpi_type@",
|
||||
WEAVE_VERSION: "@weave_version@",
|
||||
WEAVE_ID: "@weave_id@",
|
||||
|
||||
@ -46,6 +47,7 @@ WEAVE_ID: "@weave_id@",
|
||||
STORAGE_VERSION: @storage_version@,
|
||||
|
||||
DEFAULT_SERVER: "@server_url@",
|
||||
UPDATED_URL: "https://services.mozilla.com/sync/updated/?version=@weave_version@&channel=@xpi_type@",
|
||||
|
||||
PREFS_BRANCH: "extensions.weave.",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user