medfall

A super great game engine
Log | Files | Refs

commit 25e7d7cb370897077e0db8854f5a25b364f8d6bf
parent 9e58119e8f6fe8b45c2557f625afeab2c2e44d44
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri Jul  7 22:43:07 +0300

Point at the right executable in the OSX package

Diffstat:
scripts/package_osx.sh | 16++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/scripts/package_osx.sh b/scripts/package_osx.sh @@ -1,6 +1,18 @@ #! /bin/sh -mkdir -p release/pkg/Applications/Medfall.app -cp release/launch release/pkg/Applications/Medfall.app +rm -r release/pkg +mkdir -p release/pkg/Applications/Medfall.app/Contents/MacOS +cp release/launch release/pkg/Applications/Medfall.app/Contents/MacOS + +cat > release/pkg/Applications/Medfall.app/Contents/Info.plist << EOF +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleExecutable</key> + <string>launch</string> +</dict> +</plist> +EOF pkgbuild --root release/pkg --identifier com.medfall release/Medfall.pkg