Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 9298cad

Browse files
committed
clean up
1 parent efe8670 commit 9298cad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildapp.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ else
2626
if [[ $PATHTOYT == *.ipa ]]
2727
then
2828
unzip -q "$PATHTOYT" -d ./tmp
29-
(cd tmp/Payload/YouTube.app/PlugIns && rm -rf MessagesExtension.appex BroadcastUIExtension.appex BroadcastUploadExtension.appex)
29+
rm -rf ./tmp/Payload/YouTube.app/PlugIns/*.appex
3030
cp -R Extensions/*.appex tmp/Payload/YouTube.app/PlugIns
3131
make package
3232
open ./packages
@@ -35,7 +35,7 @@ elif [[ $PATHTOYT == *.app ]]
3535
then
3636
mkdir -p ./tmp/Payload/
3737
cp -R "$PATHTOYT" ./tmp/Payload 2>/dev/null
38-
(cd tmp/Payload/YouTube.app/PlugIns && rm -rf MessagesExtension.appex BroadcastUIExtension.appex BroadcastUploadExtension.appex)
38+
rm -rf ./tmp/Payload/YouTube.app/PlugIns/*.appex
3939
cp -R Extensions/*.appex tmp/Payload/YouTube.app/PlugIns
4040
make package
4141
open ./packages
@@ -45,4 +45,4 @@ fi
4545
# Clean up
4646
tput setaf 1 && echo -e "==> \033[1mCleaning up...\033[0m"
4747
find Tweaks/uYou -mindepth 1 ! -name "com.miro.uyou_2.1_iphoneos-arm.deb" ! -name ".gitkeep" -exec rm -rf {} \; 2>/dev/null
48-
rm -rf tmp/ Resources .theos/_/Payload
48+
rm -rf tmp/ Resources .theos/_/Payload

0 commit comments

Comments
 (0)