From c83dd8f5ea184a6f8fe2752abe0e7530c5f5da50 Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Sat, 2 Apr 2022 15:20:37 +0700 Subject: [PATCH] don't remove the uYou folder :/ --- buildapp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildapp.sh b/buildapp.sh index 896488f..b838f75 100755 --- a/buildapp.sh +++ b/buildapp.sh @@ -1,8 +1,8 @@ #!/bin/bash # Thanks Al4ise for his support -cd "$(dirname "$0")" - +cd "$(dirname "$0")" + # Check uYou if [[ ! -f Tweaks/uYou/com.miro.uyou_2.1_iphoneos-arm.deb ]] then @@ -33,5 +33,5 @@ else fi # Clean up tput setaf 1 && echo -e "==> \033[1mCleaning up...\033[0m" - find Tweaks/uYou -mindepth 1 -name com.miro.uyou_2.1_iphoneos-arm.deb -prune -o -exec rm -rf {} + + find Tweaks/uYou -mindepth 1 ! -name "com.miro.uyou_2.1_iphoneos-arm.deb" ! -name ".gitkeep" -exec rm -rf {} \; 2>/dev/null rm -rf Resources .theos/_/Payload \ No newline at end of file