Fix bug 723280 - Add an em:updateURL tag for nightly builds only. r=Standard8
--HG-- extra : rebase_source : 6686fe5cff11db497bda2a7e930bfe9ba740b6e3
This commit is contained in:
Родитель
7b7c7a1120
Коммит
c2e0520913
|
@ -67,6 +67,10 @@ ifneq (,$(findstring pre,$(LIGHTNING_VERSION)))
|
|||
DEFINES += -DLIGHTNING_PRERELEASE_VERSION=1
|
||||
endif
|
||||
|
||||
ifdef LIGHTNING_UPDATE_LOCATION
|
||||
DEFINES += -DLIGHTNING_UPDATE_LOCATION=$(LIGHTNING_UPDATE_LOCATION)
|
||||
endif
|
||||
|
||||
# Gecko milestone
|
||||
GRE_MILESTONE = $(shell $(PYTHON) $(MOZILLA_SRCDIR)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build Milestone)
|
||||
ifdef GRE_MILESTONE
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
<em:iconURL>chrome://calendar/skin/cal-icon32.png</em:iconURL>
|
||||
<em:optionsURL>chrome://messenger/content/preferences/preferences.xul</em:optionsURL>
|
||||
<em:targetPlatform>@TARGET_PLATFORM@</em:targetPlatform>
|
||||
#ifdef LIGHTNING_UPDATE_LOCATION
|
||||
<em:updateURL>@LIGHTNING_UPDATE_LOCATION@?buildID=@GRE_BUILDID@&appABI=%APP_ABI%&appOS=%APP_OS%&locale=%APP_LOCALE%&appVersion=%APP_VERSION%&appID=%APP_ID%</em:updateURL>
|
||||
#endif
|
||||
<em:unpack>true</em:unpack>
|
||||
</Description>
|
||||
</RDF>
|
||||
|
|
Загрузка…
Ссылка в новой задаче