mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
check file type
This commit is contained in:
parent
691ae41732
commit
abad6888e1
4 changed files with 9 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +1,6 @@
|
|||
.theos
|
||||
.DS_Store
|
||||
packages
|
||||
obj
|
||||
obj
|
||||
Tweaks/uYou/*
|
||||
!Tweaks/uYou/.gitkeep
|
||||
3
Tweaks/uYou/.gitignore
vendored
3
Tweaks/uYou/.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
|||
*
|
||||
*/
|
||||
!.gitignore
|
||||
0
Tweaks/uYou/.gitkeep
Normal file
0
Tweaks/uYou/.gitkeep
Normal 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 {} +
|
||||
|
|
|
|||
Loading…
Reference in a new issue