зеркало из 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/document.icns $(dist_dest)/Contents/Resources/document.icns
|
||||
$(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
|
||||
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
|
||||
endif
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
#ifdef XP_MACOSX
|
||||
; Mac bundle stuff
|
||||
@APPNAME@/Contents/Info.plist
|
||||
#ifdef MOZ_UPDATER
|
||||
@APPNAME@/Contents/Library/LaunchServices
|
||||
#endif
|
||||
@APPNAME@/Contents/PkgInfo
|
||||
@RESPATH@/firefox.icns
|
||||
@RESPATH@/document.icns
|
||||
|
|
Загрузка…
Ссылка в новой задаче