зеркало из https://github.com/mozilla/gecko-dev.git
Windows only - Bug 799902 - need pretty branding for stub installer (file naming). r=glandium, a=bbajaj
This commit is contained in:
Родитель
589219de39
Коммит
904540f41d
|
@ -68,9 +68,9 @@ UNINSTALLER_PACKAGE_HOOK = $(RM) -r $(STAGEDIST)/uninstall; \
|
|||
$(RM) $(_ABS_DIST)/l10n-stage/setup.exe; \
|
||||
cp ../installer/windows/l10ngen/setup.exe $(_ABS_DIST)/l10n-stage; \
|
||||
$(NSINSTALL) -D "$(_ABS_DIST)/$(PKG_INST_PATH)"; \
|
||||
$(RM) "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"; \
|
||||
cp ../installer/windows/l10ngen/stub.exe "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"; \
|
||||
chmod 0755 "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"; \
|
||||
$(RM) "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \
|
||||
cp ../installer/windows/l10ngen/stub.exe "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \
|
||||
chmod 0755 "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@ endif
|
|||
PKG_BASENAME = $(MOZ_PKG_APPNAME)-$(MOZ_PKG_VERSION).$(AB_CD).$(MOZ_PKG_PLATFORM)
|
||||
PKG_PATH =
|
||||
PKG_INST_BASENAME = $(PKG_BASENAME).installer
|
||||
PKG_STUB_BASENAME = $(PKG_BASENAME).installer-stub
|
||||
PKG_INST_PATH = install/sea/
|
||||
PKG_UPDATE_BASENAME = $(PKG_BASENAME)
|
||||
CHECKSUMS_FILE_BASENAME = $(PKG_BASENAME)
|
||||
|
@ -94,6 +95,7 @@ else
|
|||
ifeq (,$(filter-out WINNT, $(OS_ARCH))) # Windows
|
||||
PKG_BASENAME = $(MOZ_PKG_APPNAME_LC)-$(MOZ_PKG_VERSION)
|
||||
PKG_INST_BASENAME = $(MOZ_PKG_APPNAME) Setup $(MOZ_PKG_LONGVERSION)
|
||||
PKG_STUB_BASENAME = $(MOZ_PKG_APPNAME) Setup Stub $(MOZ_PKG_LONGVERSION)
|
||||
else # unix (actually, not Windows, Mac or OS/2)
|
||||
PKG_BASENAME = $(MOZ_PKG_APPNAME_LC)-$(MOZ_PKG_VERSION)
|
||||
PKG_INST_BASENAME = $(MOZ_PKG_APPNAME_LC)-setup-$(MOZ_PKG_VERSION)
|
||||
|
|
|
@ -993,7 +993,7 @@ UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PACKAGE).asc)
|
|||
endif
|
||||
|
||||
ifdef MOZ_STUB_INSTALLER
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe)
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe)
|
||||
endif
|
||||
|
||||
checksum:
|
||||
|
|
|
@ -69,8 +69,8 @@ installer::
|
|||
cat $(CONFIG_DIR)/7zSD.sfx $(CONFIG_DIR)/app.tag $(CONFIG_DIR)/app.7z > "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe"
|
||||
chmod 0755 "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe"
|
||||
ifdef MOZ_STUB_INSTALLER
|
||||
cp $(CONFIG_DIR)/stub.exe "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"
|
||||
chmod 0755 "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"
|
||||
cp $(CONFIG_DIR)/stub.exe "$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"
|
||||
chmod 0755 "$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"
|
||||
endif
|
||||
ifdef MOZ_EXTERNAL_SIGNING_FORMAT
|
||||
$(MOZ_SIGN_CMD) $(foreach f,$(MOZ_EXTERNAL_SIGNING_FORMAT),-f $(f)) "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe"
|
||||
|
|
Загрузка…
Ссылка в новой задаче