diff --git a/.gitignore b/.gitignore index 7663a19..09ab973 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .theos .DS_Store packages -obj \ No newline at end of file +obj +Tweaks/uYou/* +!Tweaks/uYou/.gitkeep \ No newline at end of file diff --git a/Tweaks/uYou/.gitignore b/Tweaks/uYou/.gitignore deleted file mode 100644 index e7a210e..0000000 --- a/Tweaks/uYou/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -* -*/ -!.gitignore \ No newline at end of file diff --git a/Tweaks/uYou/.gitkeep b/Tweaks/uYou/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/buildapp.sh b/buildapp.sh index 2c087f1..422d1e9 100755 --- a/buildapp.sh +++ b/buildapp.sh @@ -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 {} +