From 84a5ce81598b22645dff4df150c12b55847f6051 Mon Sep 17 00:00:00 2001 From: Jamorham Date: Sun, 15 Sep 2024 12:41:27 +0000 Subject: [PATCH] UnitTest: fix max apk size check --- etc/CheckBuild/check-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/CheckBuild/check-release.sh b/etc/CheckBuild/check-release.sh index b8557214be..84d4545fa2 100644 --- a/etc/CheckBuild/check-release.sh +++ b/etc/CheckBuild/check-release.sh @@ -6,7 +6,7 @@ echo "APK doesn't exist" exit 5 fi s=`du -B 1048576 "$f" | cut -f1 | tr -dc '0-9'` -if [ $s -lt 12 ] || [ $s -gt 15 ] +if [ $s -lt 12 ] || [ $s -gt 16 ] then echo "APK out of size range @ ${s}M" exit 5 @@ -18,7 +18,7 @@ echo "Wear APK doesn't exist" exit 5 fi s=`du -B 1048576 "$f" | cut -f1 | tr -dc '0-9'` -if [ $s -lt 2 ] || [ $s -gt 3 ] +if [ $s -lt 2 ] || [ $s -gt 4 ] then echo "Wear APK out of size range @ ${s}M" exit 5