Finish the osx packaging script

This commit is contained in:
pchote
2010-02-19 21:59:04 +13:00
parent 2d71d71b92
commit bdec6a0596
5 changed files with 27 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
# Application-launcher for OpenRA.
# Executes the game binary inside the ../Resources directory with the correct working directory
# Based on the file generated by the mono mkbundle utility
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"
./OpenRA