From 7732783bfe36a87c7a8fd3c358a69ed62c54f00a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 28 Aug 2023 21:41:59 +0200 Subject: [PATCH] Set TAG when extracting single build --- dump.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dump.sh b/dump.sh index 4e2e218..0d2bc98 100755 --- a/dump.sh +++ b/dump.sh @@ -4,7 +4,8 @@ set -ex # Extract full update aria2c -x5 $1 -o ota.zip unzip ota.zip payload.bin -BODY="[`unzip -p ota.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`]($1) (full)" +TAG="`unzip -p ota.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`" +BODY="[$TAG]($1) (full)" rm ota.zip mkdir ota ./bin/ota_extractor -output_dir ota -payload payload.bin