diff --git a/tools/build-kivy.sh b/tools/build-kivy.sh index 6250314..1c7121b 100755 --- a/tools/build-kivy.sh +++ b/tools/build-kivy.sh @@ -21,7 +21,7 @@ fi pushd $TMPROOT/kivy export LDSHARED="$KIVYIOSROOT/tools/liblink" export CFLAGS="$ARM_CFLAGS" -make ios +try make ios popd # FIXME this part is build/cpu dependent :/ diff --git a/tools/create-xcode-project.sh b/tools/create-xcode-project.sh index 8a5d0e9..968aba1 100755 --- a/tools/create-xcode-project.sh +++ b/tools/create-xcode-project.sh @@ -4,10 +4,12 @@ try () { "$@" || exit -1 } +. $(dirname $0)/environment.sh + APPNAME=$1 APPID=$(echo $APPNAME | tr '[A-Z]' '[a-z]') TEMPLATESDIR=$(dirname $0)/templates/ -APPDIR=$(dirname $0)/app-$APPID +APPDIR=$KIVYIOSROOT/app-$APPID if [ "X$APPNAME" == "X" ]; then echo $(basename $0) "<appname>" exit 1 diff --git a/tools/populate-project.sh b/tools/populate-project.sh index 8f0cd86..ddb859b 100755 --- a/tools/populate-project.sh +++ b/tools/populate-project.sh @@ -4,9 +4,11 @@ try () { "$@" || exit -1 } +. $(dirname $0)/environment.sh + APPNAME=$1 APPID=$(echo $APPNAME | tr '[A-Z]' '[a-z]') -APPDIR=$(dirname $0)/app-$APPID +APPDIR=$KIVYIOSROOT/app-$APPID SRCDIR=$2 if [ "X$APPNAME" == "X" ]; then diff --git a/tools/templates/icon.png b/tools/templates/icon.png index c499b4b..99b2b06 100644 Binary files a/tools/templates/icon.png and b/tools/templates/icon.png differ