From 0972479b62289bbd8cfcc717239d14b6752fd024 Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Tue, 8 Mar 2022 17:51:15 +0700 Subject: [PATCH] update submodules --- Makefile | 20 ++++++++++++++------ Tweaks/YouPiP | 2 +- Tweaks/iSponsorBlock | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index e862166..b34fb00 100644 --- a/Makefile +++ b/Makefile @@ -16,11 +16,19 @@ uYouPlus_IPA = /path/to/your/decrypted/YouTube.ipa include $(THEOS)/makefiles/common.mk include $(THEOS_MAKE_PATH)/tweak.mk -SUBPROJECTS += Tweaks/iSponsorBlock Tweaks/Alderis Tweaks/YTUHD Tweaks/YouPiP Tweaks/Return-YouTube-Dislikes +SUBPROJECTS += Tweaks/Alderis Tweaks/iSponsorBlock Tweaks/YTUHD Tweaks/YouPiP Tweaks/Return-YouTube-Dislikes include $(THEOS_MAKE_PATH)/aggregate.mk -all:: - rm -rf Resources/Frameworks && mkdir -p Resources/Frameworks/Alderis.framework && find .theos/obj/install/Library/Frameworks/Alderis.framework -maxdepth 1 -type f -exec cp {} Resources/Frameworks/Alderis.framework/ \; - install_name_tool -change /usr/lib/libcolorpicker.dylib @rpath/libcolorpicker.dylib .theos/obj/iSponsorBlock.dylib - install_name_tool -change /Library/Frameworks/Alderis.framework/Alderis @rpath/Alderis.framework/Alderis .theos/obj/libcolorpicker.dylib - +before-package:: + @tput setaf 4 && echo -e "==> \033[1mMoving tweak's bundle to ./Resources/..." + @mkdir -p Resources/Frameworks/Alderis.framework && find .theos/obj/install/Library/Frameworks/Alderis.framework -maxdepth 1 -type f -exec cp {} Resources/Frameworks/Alderis.framework/ \; + @cp -R Tweaks/YouPiP/layout/Library/Application\ Support/YouPiP.bundle Resources/ + @cp -R Tweaks/iSponsorBlock/layout/Library/Application\ Support/iSponsorBlock.bundle Resources/ + @tput setaf 5 && echo -e "==> \033[1mChanging the installation path of dylibs..." + @codesign --remove-signature .theos/obj/iSponsorBlock.dylib && install_name_tool -change /usr/lib/libcolorpicker.dylib @rpath/libcolorpicker.dylib .theos/obj/iSponsorBlock.dylib + @codesign --remove-signature .theos/obj/libcolorpicker.dylib && install_name_tool -change /Library/Frameworks/Alderis.framework/Alderis @rpath/Alderis.framework/Alderis .theos/obj/libcolorpicker.dylib + +after-package:: + @tput setaf 1 && echo -e "==> \033[1mCleaning up..." + @find ./Resources -mindepth 1 -name uYouBundle.bundle -prune -o -exec rm -rf {} + + @rm -rf .theos/_/Payload \ No newline at end of file diff --git a/Tweaks/YouPiP b/Tweaks/YouPiP index 8b846d2..bc6e38e 160000 --- a/Tweaks/YouPiP +++ b/Tweaks/YouPiP @@ -1 +1 @@ -Subproject commit 8b846d26f2ba7d259e4043764791615815114fa0 +Subproject commit bc6e38ed9f6936b66b92d13b35ed1f9a8dbea066 diff --git a/Tweaks/iSponsorBlock b/Tweaks/iSponsorBlock index f756971..bdb9c63 160000 --- a/Tweaks/iSponsorBlock +++ b/Tweaks/iSponsorBlock @@ -1 +1 @@ -Subproject commit f75697116374d1db155ce8fbe2486a7ddfa023a0 +Subproject commit bdb9c6347416640625138f1cc8b8baaa69e52b9b