Fix the launch process

This commit is contained in:
Paul Chote
2010-04-17 00:44:40 +12:00
parent 623b12f5fb
commit df521bc9ed
3 changed files with 18 additions and 7 deletions

View File

@@ -5,9 +5,4 @@
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 settings=../../../launcher.ini
fi
./OpenRA $@