This repository was archived by the owner on Dec 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ installDependencies() {
8383
8484 CTR=0 && while [ ! -e " $AAPT2 " ]; do
8585 [ $CTR -gt 2 ] && return 1
86+ echo -e " \nDownloading aapt2...\n"
8687 readarray -t RESPONSE < <( curl -s " https://api.github.com/repos/decipher3114/binaries/releases/latest" | jq -r --arg ARCH " $( getprop ro.product.cpu.abi) " ' .assets[] | if (.name | test($ARCH)) then (.browser_download_url, .size) else empty end' 2> /dev/null)
8788 [ " ${# RESPONSE[@]} " -eq 0 ] && return 1
8889 wget -q --show-progress " ${RESPONSE[0]} " -O " $AAPT2 "
@@ -97,13 +98,16 @@ installDependencies() {
9798
9899 CTR=0 && while [ ! -e " $APK_EDITOR " ]; do
99100 [ $CTR -gt 2 ] && return 1
101+ echo -e " \nDownloading APKEditor...\n"
100102 readarray -t RESPONSE < <( curl -s " https://api.github.com/repos/REAndroid/APKEditor/releases/latest" | jq -r ' .assets[0] | .browser_download_url, .size' 2> /dev/null)
101103 [ " ${# RESPONSE[@]} " -eq 0 ] && return 1
102104 wget -q --show-progress " ${RESPONSE[0]} " -O " $APK_EDITOR "
103105 if [ " ${RESPONSE[1]} " == " $( stat -c %s " $APK_EDITOR " 2> /dev/null) " ]; then
104106 break
105107 else
106108 rm " $APK_EDITOR "
109+ yes | pkg uninstall -y openjdk-21
110+ yes | pkg install openjdk-17
107111 fi
108112 (( CTR++ ))
109113 done
You can’t perform that action at this time.
0 commit comments