medfall

A super great game engine
Log | Files | Refs

package_osx.sh (554B)


      1 #! /bin/sh
      2 
      3 rm -r release/pkg
      4 mkdir -p release/pkg/Applications/Medfall.app/Contents/MacOS
      5 cp release/launch release/pkg/Applications/Medfall.app/Contents/MacOS
      6 
      7 cat > release/pkg/Applications/Medfall.app/Contents/Info.plist << EOF
      8 <?xml version="1.0" encoding="UTF-8"?>
      9 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     10 <plist version="1.0">
     11 <dict>
     12 	<key>CFBundleExecutable</key>
     13 	<string>launch</string>
     14 </dict>
     15 </plist>
     16 EOF
     17 
     18 pkgbuild --root release/pkg --identifier com.medfall release/Medfall.pkg