This commit is contained in:
minggo 2011-08-05 10:05:20 +08:00
commit 0551e86d80
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ fi
# the bash file should not be called by cygwin
UNIX_NAME=`uname -o`
UNIX_NAME=`uname -s`
if [ $UNIX_NAME = "Cygwin" ];then
echo "Error!!!"
echo "Don't run in cygwin. You should run corresponding bat."

View File

@ -65,6 +65,7 @@ copy_src_and_jni(){
copy_build_native(){
# here should use # instead of /, why??
sed "s#__cocos2dxroot__#$COCOS2DX_ROOT#;s#__ndkroot__#$NDK_ROOT#;s#__projectname__#$APP_NAME#" $COCOS2DX_ROOT/template/android/build_native.sh > $APP_DIR/android/build_native.sh
chmod u+x $APP_DIR/android/build_native.sh
}
# replace AndroidManifext.xml and change the activity name