|
@@ -0,0 +1,42 @@
|
|
1
|
+#!/bin/sh
|
|
2
|
+
|
|
3
|
+# Argument 1: Project Name
|
|
4
|
+# Argument 2: Short Version (0.1.1)
|
|
5
|
+# Argument 3: Long Version (0.1.1-20131214)
|
|
6
|
+
|
|
7
|
+YEAR=`date +%Y`
|
|
8
|
+
|
|
9
|
+echo '<?xml version="1.0" encoding="UTF-8"?>'
|
|
10
|
+echo '<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">'
|
|
11
|
+echo '<plist version="1.0">'
|
|
12
|
+echo '<dict>'
|
|
13
|
+echo ' <key>CFBundleDevelopmentRegion</key>'
|
|
14
|
+echo ' <string>English</string>'
|
|
15
|
+echo ' <key>CFBundleExecutable</key>'
|
|
16
|
+echo " <string>$1</string>"
|
|
17
|
+echo ' <key>CFBundleGetInfoString</key>'
|
|
18
|
+echo " <string>$1 Version $2-$3</string>"
|
|
19
|
+echo ' <key>CFBundleIconFile</key>'
|
|
20
|
+echo ' <string>openraider.icns</string>'
|
|
21
|
+echo ' <key>CFBundleIdentifier</key>'
|
|
22
|
+echo ' <string>de.xythobuz.openraider</string>'
|
|
23
|
+echo ' <key>CFBundleInfoDictionaryVersion</key>'
|
|
24
|
+echo ' <string>6.0</string>'
|
|
25
|
+echo ' <key>CFBundleLongVersionString</key>'
|
|
26
|
+echo " <string>$2-$3</string>"
|
|
27
|
+echo ' <key>CFBundleName</key>'
|
|
28
|
+echo " <string>$1</string>"
|
|
29
|
+echo ' <key>CFBundlePackageType</key>'
|
|
30
|
+echo ' <string>APPL</string>'
|
|
31
|
+echo ' <key>CFBundleShortVersionString</key>'
|
|
32
|
+echo " <string>$2-$3</string>"
|
|
33
|
+echo ' <key>CFBundleSignature</key>'
|
|
34
|
+echo ' <string>????</string>'
|
|
35
|
+echo ' <key>CFBundleVersion</key>'
|
|
36
|
+echo " <string>$2-$3</string>"
|
|
37
|
+echo ' <key>CSResourcesFileMapped</key>'
|
|
38
|
+echo ' <true/>'
|
|
39
|
+echo ' <key>NSHumanReadableCopyright</key>'
|
|
40
|
+echo " <string>Copyright 2001 - ${YEAR}</string>"
|
|
41
|
+echo '</dict>'
|
|
42
|
+echo '</plist>'
|