Skip to content

Commit

Permalink
Cercube v5.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored Aug 27, 2022
1 parent 1651c8c commit 8fa310b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions buildapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
cd "$(dirname "$0")"

# Check Cercube
if [ ! -f Tweaks/Cercube/me.alfhaily.cercube_5.3.10_iphoneos-arm.deb ]
if [ ! -f Tweaks/Cercube/me.alfhaily.cercube_5.3.11_iphoneos-arm.deb ]
then
echo -e "==> \033[1mCercube v5.3.10 is not found. Downloading Cercube (v5.3.10)...\033[0m"
curl https://apt.alfhaily.me/files/me.alfhaily.cercube_5.3.10_iphoneos-arm.deb --output Tweaks/Cercube/me.alfhaily.cercube_5.3.10_iphoneos-arm.deb
echo -e "==> \033[1mCercube v5.3.11 is not found. Downloading Cercube (v5.3.11)...\033[0m"
curl https://apt.alfhaily.me/files/me.alfhaily.cercube_5.3.11_iphoneos-arm.deb --output Tweaks/Cercube/me.alfhaily.cercube_5.3.11_iphoneos-arm.deb
else
echo -e "==> \033[1mFounded Cercube (v5.3.10)\033[0m"
echo -e "==> \033[1mFounded Cercube (v5.3.11)\033[0m"
fi

# Extract Cercube
echo -e "==> \033[1mExtracting Cercube...\033[0m"
if (cd Tweaks/Cercube && tar -xf me.alfhaily.cercube_5.3.10_iphoneos-arm.deb && tar -xf data.tar.*)
if (cd Tweaks/Cercube && tar -xf me.alfhaily.cercube_5.3.11_iphoneos-arm.deb && tar -xf data.tar.*)
then
echo -e "\033[1m> Extracted Cercube!\033[0m"
else
Expand Down Expand Up @@ -48,5 +48,5 @@ fi

# Clean up
tput setaf 1 && echo -e "==> \033[1mCleaning up...\033[0m"
find Tweaks/Cercube -mindepth 1 ! -name "me.alfhaily.cercube_5.3.10_iphoneos-arm.deb" ! -name ".gitkeep" -exec rm -rf {} \; 2>/dev/null
rm -rf tmp/ Resources .theos/_/Payload
find Tweaks/Cercube -mindepth 1 ! -name "me.alfhaily.cercube_5.3.11_iphoneos-arm.deb" ! -name ".gitkeep" -exec rm -rf {} \; 2>/dev/null
rm -rf tmp/ Resources .theos/_/Payload

0 comments on commit 8fa310b

Please sign in to comment.