summaryrefslogtreecommitdiff
path: root/os/macos
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-18 23:48:55 +0000
committerbjarni <bjarni@openttd.org>2005-01-18 23:48:55 +0000
commitaaf3bcb91f8e98765cf0023518132d07d0196703 (patch)
treea5fa24802bf41ccbdc33642d8e3c0971e5cb1b23 /os/macos
parent5f549396f48bf0d13739336172fa002d2676e948 (diff)
downloadopenttd-aaf3bcb91f8e98765cf0023518132d07d0196703.tar.xz
(svn r1562) Changed copyright 2004 into copyright 2004-(current year) in the get info window in finder (macOSX)
Diffstat (limited to 'os/macos')
-rwxr-xr-xos/macos/plistgen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/macos/plistgen.sh b/os/macos/plistgen.sh
index 7df09affd..0968f8dc7 100755
--- a/os/macos/plistgen.sh
+++ b/os/macos/plistgen.sh
@@ -7,6 +7,7 @@ VERSION="$3"
else
VERSION="$2"
fi
+date=`date +%Y`
# Generates Info.plist while applying $VERSION
@@ -22,7 +23,7 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<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>
@@ -38,7 +39,7 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<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>