From fc43a2a1a969bca0b82ab27c86f562000348e7dd Mon Sep 17 00:00:00 2001 From: osm0sis Date: Fri, 1 Oct 2021 19:20:43 -0300 Subject: [PATCH] Backend: print AK_BASE_VERSION to stdout in script output --- META-INF/com/google/android/update-binary | 1 + META-INF/com/google/android/updater-script | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index c6d790f..52d8389 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -472,6 +472,7 @@ if [ -f version ]; then ui_print " "; fi; ui_print " " "AnyKernel3 by osm0sis @ xda-developers" " " " "; +$BB grep -oE 'AK_BASE.*' META-INF/com/google/android/updater-script; setup_env; diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script index e140e9e..3b342d6 100644 --- a/META-INF/com/google/android/updater-script +++ b/META-INF/com/google/android/updater-script @@ -3,4 +3,4 @@ # Dummy file; update-binary is a shell script (DO NOT CHANGE) # # -# AK_BASE_VERSION=20210915 +# AK_BASE_VERSION=20211001