SDL: better detect asset pack presence

This commit is contained in:
Sergii Pylypenko
2022-01-13 22:36:30 +02:00
parent ad753cbdd8
commit 999cefb359
2 changed files with 4 additions and 2 deletions

View File

@@ -1140,7 +1140,9 @@ else
}
fi
if [ -z "`ls project/assetpack/src/main/assets/ 2>/dev/null`" ] ; then
if [ -e "project/jni/application/src/AndroidData/assetpack" ] ; then
# Do nothing...
else
$SEDI "/==ASSETPACK==/ d" project/app/build.gradle
fi