diff options
-rw-r--r-- | main/build/MacOSX/Makefile.am | 3 | ||||
-rwxr-xr-x | main/build/MacOSX/make-dmg-bundle.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/build/MacOSX/Makefile.am b/main/build/MacOSX/Makefile.am index c5cb23826e..a5c47ab695 100644 --- a/main/build/MacOSX/Makefile.am +++ b/main/build/MacOSX/Makefile.am @@ -1,5 +1,6 @@ MAC_APP_DIR=MonoDevelop.app APP_NAME=MonoDevelop +APP_DISPLAY_NAME=MonoDevelop MACOS=$(MAC_APP_DIR)/Contents/MacOS LIB_DIR=$(MAC_APP_DIR)/Contents/Resources/lib MAC_APP_LIB_DIR=$(LIB_DIR)/monodevelop @@ -88,7 +89,7 @@ app: monostub monostub-test mkdir -p $(MAC_APP_DIR)/Contents/MacOS/share/monodevelop cp ../../COPYING $(MAC_APP_DIR)/Contents/MacOS/share/monodevelop/COPYING.LGPL2.1 - sed -e "s/@BUNDLE_VERSION@/$(BUNDLE_VERSION)/" -e "s/@APP_NAME@/$(APP_NAME)/" -e "s|@RELEASE_ID@|$(PACKAGE_UPDATE_ID)|" Info.plist.in > $(MAC_APP_DIR)/Contents/Info.plist + sed -e "s/@BUNDLE_VERSION@/$(BUNDLE_VERSION)/" -e "s/@APP_NAME@/$(APP_NAME)/" -e "s/@APP_DISPLAY_NAME@/$(APP_DISPLAY_NAME)/" -e "s|@RELEASE_ID@|$(PACKAGE_UPDATE_ID)|" Info.plist.in > $(MAC_APP_DIR)/Contents/Info.plist cp ../../theme-icons/Mac/*.icns $(MAC_APP_DIR)/Contents/Resources/ # Native launch scripts diff --git a/main/build/MacOSX/make-dmg-bundle.sh b/main/build/MacOSX/make-dmg-bundle.sh index 9fe1911e8b..1170152801 100755 --- a/main/build/MacOSX/make-dmg-bundle.sh +++ b/main/build/MacOSX/make-dmg-bundle.sh @@ -16,7 +16,7 @@ if test ! -e "$DMG_APP" ; then exit 1 fi -NAME=`grep -A1 CFBundleName "$DMG_APP/Contents/Info.plist" | grep string | sed -e 's/.*<string>//' -e 's,</string>,,'` +NAME=`grep -A1 CFBundleDisplayName "$DMG_APP/Contents/Info.plist" | grep string | sed -e 's/.*<string>//' -e 's,</string>,,'` VERSION=`grep -A1 CFBundleVersion "$DMG_APP/Contents/Info.plist" | grep string | sed -e 's/.*<string>//' -e 's,</string>,,'` #if we use the version in the volume name, Finder can't find the background image |