don't remove the uYou folder :/

This commit is contained in:
qnblackcat
2022-04-02 15:20:37 +07:00
parent 5d6d1c0f23
commit c83dd8f5ea
+3 -3
View File
@@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# Thanks Al4ise for his support # Thanks Al4ise for his support
cd "$(dirname "$0")" cd "$(dirname "$0")"
# Check uYou # Check uYou
if [[ ! -f Tweaks/uYou/com.miro.uyou_2.1_iphoneos-arm.deb ]] if [[ ! -f Tweaks/uYou/com.miro.uyou_2.1_iphoneos-arm.deb ]]
then then
@@ -33,5 +33,5 @@ else
fi fi
# Clean up # Clean up
tput setaf 1 && echo -e "==> \033[1mCleaning up...\033[0m" 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 rm -rf Resources .theos/_/Payload