First half of the copy-mix-to-game-bundle applescript

This commit is contained in:
pchote
2010-02-22 12:21:20 +13:00
parent ebeb10e018
commit 44909ec019
2 changed files with 5 additions and 0 deletions

View File

@@ -5,4 +5,9 @@
APP_PATH=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+3] != "") { if (patharr[idx] != "/") {printf("%s/", patharr[idx]); idx++ }} }'`
cd "$APP_PATH/Contents/Resources"
if [ ! -e mods/ra/packages/redalert.mix ]; then
osascript install_ra_mix.scpt
else
./OpenRA
fi