Open Source Tomb Raider Engine
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

plist.sh 1.6KB

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