Index: ps/trunk/build/workspaces/build-osx-bundle.sh =================================================================== --- ps/trunk/build/workspaces/build-osx-bundle.sh +++ ps/trunk/build/workspaces/build-osx-bundle.sh @@ -24,7 +24,7 @@ OSX_VERSION=`sw_vers -productVersion | grep -Eo "^\d+.\d+"` # Set SDK and mimimum required OS X version -export SYSROOT=${SYSROOT:="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$OSX_VERSION.sdk"} +export SYSROOT=${SYSROOT:="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"} # ← does always exist if Xcode is installed. MacOSX$OSX_VERSION.sdk does not. export MIN_OSX_VERSION=${MIN_OSX_VERSION:="10.9"} # 0 A.D. release version, e.g. Alpha 21 is 0.0.21 @@ -188,6 +188,19 @@ fi popd > /dev/null cp -v ../resources/0ad.icns ${BUNDLE_RESOURCES} +cat < ${BUNDLE_RESOURCES}/InfoPlist.strings + + + + + CFBundleDisplayName + 0 A.D. + CFBundleName + 0 A.D. + + +EOF + # Copy license/readmes # TODO: Also want copies in the DMG - decide on layout @@ -210,6 +223,7 @@ PlistBuddy -c "Add :CFBundleDevelopmentRegion string English" ${INFO_PLIST} PlistBuddy -c "Add :CFBundleInfoDictionaryVersion string 6.0" ${INFO_PLIST} PlistBuddy -c "Add :CFBundleIconFile string 0ad" ${INFO_PLIST} +PlistBuddy -c "Add :LSHasLocalizedDisplayName bool true" ${INFO_PLIST} PlistBuddy -c "Add :LSMinimumSystemVersion string ${BUNDLE_MIN_OSX_VERSION}" ${INFO_PLIST} PlistBuddy -c "Add :NSHumanReadableCopyright string Copyright © $(date +%Y) Wildfire Games" ${INFO_PLIST}