diff -r 463d48b86526 -r 98b0f81cb999 os/macosx/plistgen.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/macosx/plistgen.sh Thu Apr 14 20:42:30 2005 +0000 @@ -0,0 +1,46 @@ +#!/bin/sh + +# sets VERSION to the value if RELEASE if there are any, +# otherwise it sets VERSION to revision number +if [ "$3" ]; then +VERSION="$3" +else +VERSION="$2" +fi +date=`date +%Y` + +# Generates Info.plist while applying $VERSION + +echo " + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + Open Transport Tycoon + CFBundleExecutable + openttd + CFBundleGetInfoString + $VERSION, Copyright 2004-$date The Open Transport Tycoon team + CFBundleIconFile + openttd.icns + CFBundleIdentifier + org.ludde-ottd.ludde-ottd + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ottd + CFBundlePackageType + APPL + CFBundleShortVersionString + $VERSION + CFBundleVersion + $VERSION + NSHumanReadableCopyright + Copyright 2004-$date The Open Transport Tycoon team + NSPrincipalClass + NSApplication + +" > "$1"/contents/Info.plist