From 8d5ce9f690d9531b219b266f0011f8005c02a8a6 Mon Sep 17 00:00:00 2001 From: w1nst0n Date: Mon, 11 Jan 2021 18:33:03 +0100 Subject: [PATCH] Hotfix (v2.8.2) --- CHANGELOG.md | 4 ++++ debloat_script.sh | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f5c45a..bd77d18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Hotfix (v2.8.2) + +- Flashable debloat zip not removing anything (oversight on my part after debugging for the first hotfix) + # Hotfix (v2.8.1) - Flashable zip was broken. I reworked all the generation logic. It is much simpler and correctly works now. diff --git a/debloat_script.sh b/debloat_script.sh index 8038f11..834d576 100755 --- a/debloat_script.sh +++ b/debloat_script.sh @@ -33,8 +33,7 @@ done ############################################### MAIN SCRIPT ########################################################## main() { - readonly SRC_URI="https://gitlab.com/W1nst0n/universal-android-debloater/-/archive/master/universal-android-debloater-master.tar.gz" - readonly VERSION="v2.8.1 (January 11th 2021)" + readonly VERSION="v2.8.2 (January 11th 2021)" readonly PAD=$(((48-${#VERSION})/2)) readonly BRAND="$(get_brand)" @@ -325,7 +324,7 @@ create_flashable_zip() { generate_custom_list "${LISTS[$list]}" backup_apks CUSTOM_LIST for package in "${CUSTOM_LIST[@]}"; do - echo "echo $package" >> "$UPDATE_BINARY" + echo "rm -rf $package" >> "$UPDATE_BINARY" done [[ $is_empty -eq 1 && ${#CUSTOM_LIST[@]} -gt 0 ]] && is_empty=0 done