From 7a3e6df8cacb6a3f17b8c448b7e8dcb2aada6a56 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Thu, 23 Mar 2023 17:02:44 -0300 Subject: [PATCH] Backend: fix showing ui_printfile padding char in error when booted --- META-INF/com/google/android/update-binary | 2 +- META-INF/com/google/android/updater-script | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 41b010e..fa8bd92 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -25,7 +25,7 @@ ui_print() { } ui_printfile() { local line losrpad; - [ -e /twres ] || losrpad='| '; # work around LOS Recovery eating leading whitespace + $BOOTMODE || [ -e /twres ] || losrpad='| '; # work around LOS Recovery eating leading whitespace while IFS='' read -r line || $BB [[ -n "$line" ]]; do ui_print "$losrpad$line"; done < $1; diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script index 7b326d0..b17d76c 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=20230316 +# AK_BASE_VERSION=20230323