SDL: removed Proguard check, fixed build scripts

This commit is contained in:
pelya
2023-05-17 15:47:15 +03:00
parent b6c922f135
commit ba816271e4
4 changed files with 21 additions and 22 deletions

View File

@@ -1130,17 +1130,6 @@ else
done
$SEDI "s/==GOOGLEPLAYGAMESERVICES_APP_ID==/$GooglePlayGameServicesId/g" project/res/values/strings.xml
PROGUARD=`which android`
[ -z "$PROGUARD" ] && PROGUARD=$ANDROID_SDK_ROOT/tools/android
PROGUARD=`dirname $PROGUARD`/proguard/lib/proguard.jar
java -jar $PROGUARD | grep 'ProGuard, version 5.3' || {
echo "Error: ProGuard is too old"
echo "You need to update ProGuard. Download it here:"
echo "https://sourceforge.net/projects/proguard/files/proguard/5.3/proguard5.3.3.zip"
echo "Unpack it, then place file proguard.jar to $PROGUARD"
#exit 1
}
fi
if [ -e "project/jni/application/src/AndroidData/assetpack" ] ; then