bug 344409 - Fix case of updater.app display name by including app's name. r=bsmedberg,ui=beltzner

This commit is contained in:
mattwillis%gmail.com 2006-08-14 17:28:28 +00:00
parent 43993b3670
commit c1b5a18704
3 changed files with 7 additions and 1 deletions

View File

@ -107,7 +107,9 @@ include $(topsrcdir)/config/rules.mk
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
libs::
mkdir -p $(DIST)/bin/updater.app
rsync -a --exclude CVS $(srcdir)/macbuild/Contents $(DIST)/bin/updater.app
rsync -a --exclude CVS --exclude "*.in" $(srcdir)/macbuild/Contents $(DIST)/bin/updater.app
sed -e "s/@APP_NAME@/$(MOZ_APP_DISPLAYNAME)/" $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | \
iconv -f UTF-8 -t UTF-16 > $(DIST)/bin/updater.app/Contents/Resources/English.lproj/InfoPlist.strings
mkdir -p $(DIST)/bin/updater.app/Contents/MacOS
# copy and remove to un-symlink (FSCopyObject seems to not copy symlinks)
rm -f $(DIST)/bin/updater.app/Contents/MacOS/updater

View File

@ -0,0 +1,4 @@
/* Localized versions of Info.plist keys */
CFBundleName = "@APP_NAME@ Software Update";
NSHumanReadableCopyright = "Copyright © 2005-2006 Mozilla Foundation";