mirror of https://github.com/axmolengine/axmol.git
issue #1425: add copy commands to copy Resources to android/assets
This commit is contained in:
parent
6cc4eb8878
commit
7f55980259
|
@ -54,6 +54,18 @@ fi
|
|||
mkdir "$APP_ANDROID_ROOT"/assets
|
||||
|
||||
# copy resources
|
||||
for file in "$APP_ROOT"../TestCpp/Resources/*
|
||||
do
|
||||
if [ -d "$file" ]; then
|
||||
cp -rf "$file" "$APP_ANDROID_ROOT"/assets
|
||||
fi
|
||||
|
||||
if [ -f "$file" ]; then
|
||||
cp "$file" "$APP_ANDROID_ROOT"/assets
|
||||
fi
|
||||
done
|
||||
|
||||
# copy luaScript
|
||||
for file in "$APP_ROOT"/Resources/*
|
||||
do
|
||||
if [ -d "$file" ]; then
|
||||
|
|
Loading…
Reference in New Issue