Changeset - r1061:697843db2310
[Not reviewed]
master
0 1 0
bjarni - 19 years ago 2005-01-18 23:48:55
bjarni@openttd.org
(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
os/macos/plistgen.sh
Show inline comments
 
@@ -4,12 +4,13 @@
 
# 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$
 
@@ -19,13 +20,13 @@ echo "<?xml version=\"1.0\" encoding=\"U
 
        <string>English</string>
 
        <key>CFBundleDisplayName</key>
 
        <string>Open Transport Tycoon</string>
 
        <key>CFBundleExecutable</key>
 
        <string>openttd</string>
 
        <key>CFBundleGetInfoString</key>
 
        <string>$VERSION, Copyright 2004 The Open Transport Tycoon team</string>
 
        <string>$VERSION, Copyright 2004-$date The Open Transport Tycoon team</string>
 
        <key>CFBundleIconFile</key>
 
        <string>openttd.icns</string>
 
        <key>CFBundleIdentifier</key>
 
        <string>org.ludde-ottd.ludde-ottd</string>
 
        <key>CFBundleInfoDictionaryVersion</key>
 
        <string>6.0</string>
 
@@ -35,11 +36,11 @@ echo "<?xml version=\"1.0\" encoding=\"U
 
        <string>APPL</string>
 
        <key>CFBundleShortVersionString</key>
 
        <string>$VERSION</string>
 
        <key>CFBundleVersion</key>
 
        <string>$VERSION</string>
 
        <key>NSHumanReadableCopyright</key>
 
        <string>Copyright 2004 The Open Transport Tycoon team</string>
 
        <string>Copyright 2004-$date The Open Transport Tycoon team</string>
 
        <key>NSPrincipalClass</key>
 
        <string>NSApplication</string>
 
</dict>
 
</plist>" > "$1"/contents/Info.plist
0 comments (0 inline, 0 general)