Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/qnblackcat/uYouPlus into main
Browse files Browse the repository at this point in the history
  • Loading branch information
qnblackcat committed Feb 15, 2022
2 parents ce26a83 + ef2834a commit aeb941a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uYouPlus_INJECT_DYLIBS = Tweaks/uYou.dylib Tweaks/libcolorpicker.dylib .theos/obj/iSponsorBlock.dylib .theos/obj/YTUHD.dylib .theos/obj/YouPiP.dylib .theos/obj/YouTubeDislikesReturn.dylib
uYouPlus_INJECT_DYLIBS = Tweaks/uYou.dylib .theos/obj/libcolorpicker.dylib .theos/obj/iSponsorBlock.dylib .theos/obj/YTUHD.dylib .theos/obj/YouPiP.dylib .theos/obj/YouTubeDislikesReturn.dylib

uYouPlus_USE_FLEX = 0
ARCHS = arm64
Expand All @@ -16,9 +16,11 @@ uYouPlus_IPA = /path/to/your/decrypted/YouTube.ipa

include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/tweak.mk
SUBPROJECTS += Tweaks/iSponsorBlock Tweaks/YTUHD Tweaks/YouPiP Tweaks/Return-YouTube-Dislikes
SUBPROJECTS += Tweaks/iSponsorBlock Tweaks/Alderis Tweaks/YTUHD Tweaks/YouPiP Tweaks/Return-YouTube-Dislikes
include $(THEOS_MAKE_PATH)/aggregate.mk

all::
@install_name_tool -change /usr/lib/libcolorpicker.dylib @rpath/libcolorpicker.dylib .theos/obj/iSponsorBlock.dylib && echo "==> Fixed executable path for iSponsorBlock!"
@cp -R .theos/obj/*.bundle Resources && echo "==> Moved tweaks's bundle to Resources!"
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

Binary file removed Resources/Frameworks/Alderis.framework/Alderis
Binary file not shown.
Binary file removed Resources/Frameworks/Alderis.framework/Assets.car
Binary file not shown.
Binary file removed Resources/Frameworks/Alderis.framework/Info.plist
Binary file not shown.

0 comments on commit aeb941a

Please sign in to comment.