check file type
This commit is contained in:
@@ -2,3 +2,5 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
packages
|
packages
|
||||||
obj
|
obj
|
||||||
|
Tweaks/uYou/*
|
||||||
|
!Tweaks/uYou/.gitkeep
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
*
|
|
||||||
*/
|
|
||||||
!.gitignore
|
|
||||||
+6
-2
@@ -22,11 +22,15 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Makefile
|
# 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
|
sed -i '' "14s#.*#uYouPlus_IPA = $PATHTOIPA#g" ./Makefile
|
||||||
make clean package
|
make clean package
|
||||||
open ./packages
|
open ./packages
|
||||||
|
else
|
||||||
|
echo "This is not an iPA"
|
||||||
|
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 -prune -o -exec rm -rf {} +
|
||||||
|
|||||||
Reference in New Issue
Block a user