зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1278042 - If update is disabled, don't copy LaunchServices. r=spohl
MozReview-Commit-ID: DWZxmVU0Qrf --HG-- extra : rebase_source : 531a1e7bca364bd23eba0a48e0d80f698c142a69
This commit is contained in:
Родитель
7b66148fc2
Коммит
5d98501bcf
|
@ -97,7 +97,9 @@ tools repackage:: $(DIST)/bin/$(MOZ_APP_NAME)
|
||||||
cp -RL $(DIST)/branding/firefox.icns $(dist_dest)/Contents/Resources/firefox.icns
|
cp -RL $(DIST)/branding/firefox.icns $(dist_dest)/Contents/Resources/firefox.icns
|
||||||
cp -RL $(DIST)/branding/document.icns $(dist_dest)/Contents/Resources/document.icns
|
cp -RL $(DIST)/branding/document.icns $(dist_dest)/Contents/Resources/document.icns
|
||||||
$(MKDIR) -p $(dist_dest)/Contents/Library/LaunchServices
|
$(MKDIR) -p $(dist_dest)/Contents/Library/LaunchServices
|
||||||
|
ifdef MOZ_UPDATER
|
||||||
mv -f $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater $(dist_dest)/Contents/Library/LaunchServices
|
mv -f $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater $(dist_dest)/Contents/Library/LaunchServices
|
||||||
ln -s ../../../../Library/LaunchServices/org.mozilla.updater $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater
|
ln -s ../../../../Library/LaunchServices/org.mozilla.updater $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater
|
||||||
|
endif
|
||||||
printf APPLMOZB > $(dist_dest)/Contents/PkgInfo
|
printf APPLMOZB > $(dist_dest)/Contents/PkgInfo
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -35,7 +35,9 @@
|
||||||
#ifdef XP_MACOSX
|
#ifdef XP_MACOSX
|
||||||
; Mac bundle stuff
|
; Mac bundle stuff
|
||||||
@APPNAME@/Contents/Info.plist
|
@APPNAME@/Contents/Info.plist
|
||||||
|
#ifdef MOZ_UPDATER
|
||||||
@APPNAME@/Contents/Library/LaunchServices
|
@APPNAME@/Contents/Library/LaunchServices
|
||||||
|
#endif
|
||||||
@APPNAME@/Contents/PkgInfo
|
@APPNAME@/Contents/PkgInfo
|
||||||
@RESPATH@/firefox.icns
|
@RESPATH@/firefox.icns
|
||||||
@RESPATH@/document.icns
|
@RESPATH@/document.icns
|
||||||
|
|
Загрузка…
Ссылка в новой задаче