[Request] Switch to use Theos tooling in Makefile #193

Open
opened 2024-06-21 17:28:12 +00:00 by Mukul1127 · 2 comments
Mukul1127 commented 2024-06-21 17:28:12 +00:00 (Migrated from github.com)

It seems that instead of using the tooling provided by theos and theos-jailed, you're just manually doing it, by using these in the Makefile you can remove all the need for the before-package and part of the Prepare Youtube iPA in the action yml.

YTLITE_INJECT_DYLIBS = $(THEOS_OBJ_DIR)/iSponsorBlock.dylib
YTLITE_EMBED_LIBRARIES = $(THEOS_OBJ_DIR)/libcolorpicker.dylib
YTLITE_EMBED_FRAMEWORKS = $(_THEOS_LOCAL_DATA_DIR)/$(THEOS_OBJ_DIR_NAME)/install_Alderis.xcarchive/Products/var/jb/Library/Frameworks/Alderis.framework
YTLITE_EMBED_BUNDLES = $(wildcard Tweaks/*/var/jb/Library/Application\ Support/*.bundle) $(wildcard Tweaks/*/layout/Library/Application\ Support/*.bundle)
YTLITE_EMBED_EXTENSIONS = $(wildcard Extensions/*.appex)

REMOVE_EXTENSIONS = 1

PS: this should be tested though I believe it should work as it's mostly copied from the uYouEnhanced Makefile with changes for YTLitePlus

It seems that instead of using the tooling provided by `theos` and `theos-jailed`, you're just manually doing it, by using these in the `Makefile` you can remove all the need for the `before-package` and part of the `Prepare Youtube iPA` in the action yml. ``` YTLITE_INJECT_DYLIBS = $(THEOS_OBJ_DIR)/iSponsorBlock.dylib YTLITE_EMBED_LIBRARIES = $(THEOS_OBJ_DIR)/libcolorpicker.dylib YTLITE_EMBED_FRAMEWORKS = $(_THEOS_LOCAL_DATA_DIR)/$(THEOS_OBJ_DIR_NAME)/install_Alderis.xcarchive/Products/var/jb/Library/Frameworks/Alderis.framework YTLITE_EMBED_BUNDLES = $(wildcard Tweaks/*/var/jb/Library/Application\ Support/*.bundle) $(wildcard Tweaks/*/layout/Library/Application\ Support/*.bundle) YTLITE_EMBED_EXTENSIONS = $(wildcard Extensions/*.appex) REMOVE_EXTENSIONS = 1 ``` PS: this should be tested though I believe it should work as it's mostly copied from the uYouEnhanced Makefile with changes for YTLitePlus
bhackel commented 2024-07-28 00:28:48 +00:00 (Migrated from github.com)

I've been trying to make this work for a few days, but been having a lot of trouble getting Alderis to install correctly. Since I'm not super familiar with the build process, I will not try to work on this any more until it is required.

I've been trying to make this work for a few days, but been having a lot of trouble getting Alderis to install correctly. Since I'm not super familiar with the build process, I will not try to work on this any more until it is required.
Mukul1127 commented 2024-08-03 20:35:23 +00:00 (Migrated from github.com)

I've been trying to make this work for a few days, but been having a lot of trouble getting Alderis to install correctly. Since I'm not super familiar with the build process, I will not try to work on this any more until it is required.

I just remembered that to get YTLitePlus to build for me, I had to edit line 36 in the makefile to replace .theos/obj/install/ with .theos/obj/install_Alderis/ The bit I copied from uYouEnhanced used that path, maybe that could be causing Alderis to not install correctly

> I've been trying to make this work for a few days, but been having a lot of trouble getting Alderis to install correctly. Since I'm not super familiar with the build process, I will not try to work on this any more until it is required. I just remembered that to get YTLitePlus to build for me, I had to edit line 36 in the makefile to replace `.theos/obj/install/` with `.theos/obj/install_Alderis/` The bit I copied from uYouEnhanced used that path, maybe that could be causing Alderis to not install correctly
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Creepso/YTLitePlus#193
No description provided.