check file type

This commit is contained in:
qnblackcat
2022-03-22 11:55:04 +07:00
parent 691ae41732
commit abad6888e1
4 changed files with 9 additions and 6 deletions
+2
View File
@@ -2,3 +2,5 @@
.DS_Store
packages
obj
Tweaks/uYou/*
!Tweaks/uYou/.gitkeep
-3
View File
@@ -1,3 +0,0 @@
*
*/
!.gitignore
View File
+6 -2
View File
@@ -22,11 +22,15 @@ else
fi
# Makefile
read -e -p "==> Path to the decrypted YouTube IPA: " PATHTOIPA
read -e -p "==> Path to the decrypted YouTube iPA: " PATHTOIPA
if [[ $PATHTOIPA == *.ipa ]]
then
sed -i '' "14s#.*#uYouPlus_IPA = $PATHTOIPA#g" ./Makefile
make clean package
open ./packages
else
echo "This is not an iPA"
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 {} +