Files @ r4950:c48bc0a3cdca
Branch filter:

Location: cpp/openttd-patchpack/source/os/macosx/plistgen.sh

miham
(svn r6939) WebTranslator2 update to 2006-10-25 07:48:50
american - 3 fixed by WhiteRabbit (3)
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 7 fixed, 2 changed by groupsky (9)
catalan - 1 fixed by arnaullv (1)
dutch - 3 fixed by webfreakz (3)
estonian - 3 fixed by vermon (3)
french - 4 fixed by glx (4)
galician - 46 fixed, 4 changed by Condex (50)
german - 5 fixed, 2 changed by Neonox (5), chu (2)
italian - 4 fixed, 3 changed by sidew (7)
#!/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 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" 
\"http://www.apple.com/DTDs/Prop$
<plist version=\"1.0\">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleDisplayName</key>
        <string>Open Transport Tycoon</string>
        <key>CFBundleExecutable</key>
        <string>openttd</string>
        <key>CFBundleGetInfoString</key>
        <string>$VERSION, Copyright 2004-$date The OpenTTD team</string>
        <key>CFBundleIconFile</key>
        <string>openttd.icns</string>
        <key>CFBundleIdentifier</key>
        <string>org.openttd.openttd</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleName</key>
        <string>OpenTTD</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>$VERSION</string>
        <key>CFBundleVersion</key>
        <string>$VERSION</string>
        <key>NSHumanReadableCopyright</key>
        <string>Copyright 2004-$date The OpenTTD team</string>
        <key>NSPrincipalClass</key>
        <string>NSApplication</string>
</dict>
</plist>" > "$1"/Contents/Info.plist