From 999cefb35950e41d83f0b8a9cbde4d73a06ac88a Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Thu, 13 Jan 2022 22:36:30 +0200 Subject: [PATCH] SDL: better detect asset pack presence --- changeAppSettings.sh | 4 +++- project/jni/application/supertux/supertux | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changeAppSettings.sh b/changeAppSettings.sh index da7b465fb..6ae4d4cdb 100755 --- a/changeAppSettings.sh +++ b/changeAppSettings.sh @@ -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 diff --git a/project/jni/application/supertux/supertux b/project/jni/application/supertux/supertux index 4e2c213dc..aba5d55c9 160000 --- a/project/jni/application/supertux/supertux +++ b/project/jni/application/supertux/supertux @@ -1 +1 @@ -Subproject commit 4e2c213dcbbeda85e851e02a5e8525f628b500a7 +Subproject commit aba5d55c925ad803e84c15e05b2ebd98fdcc00fe