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:
Michael Kaply 2017-03-27 09:48:35 -05:00
Родитель 7b66148fc2
Коммит 5d98501bcf
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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