Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/ExampleModule.bundle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BUNDLE_NAME = ExampleModule
ExampleModule_BUNDLE_EXTENSION = bundle
ExampleModule_FILES = ExampleModule.m
ExampleModule_CFLAGS = -fobjc-arc
ExampleModule_LDFLAGS = -rpath /Library/Frameworks -rpath /var/jb/Library/Frameworks -rpath /usr/lib -rpath /var/jb/usr/lib
ExampleModule_LDFLAGS = -rpath /Library/Frameworks -rpath /var/jb/Library/Frameworks -rpath @loader_path/.jbroot/Library/Frameworks -rpath /usr/lib -rpath /var/jb/usr/lib -rpath @loader_path/.jbroot/usr/lib
ExampleModule_INSTALL_PATH = /Library/Modulous/Modules

include $(THEOS_MAKE_PATH)/bundle.mk
2 changes: 1 addition & 1 deletion Examples/ModulousExample.dylib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TWEAK_NAME = ModulousExample
ModulousExample_FILES = Tweak.x
ModulousExample_CFLAGS = -fobjc-arc
ModulousExample_CFLAGS += -Ivendor/Modulous.framework/Headers
ModulousExample_LDFLAGS = -rpath /Library/Frameworks -rpath /var/jb/Library/Frameworks -rpath /usr/lib -rpath /var/jb/usr/lib
ModulousExample_LDFLAGS = -rpath /Library/Frameworks -rpath /var/jb/Library/Frameworks -rpath @loader_path/.jbroot/Library/Frameworks -rpath /usr/lib -rpath /var/jb/usr/lib -rpath @loader_path/.jbroot/usr/lib
ModulousExample_LDFLAGS += -Fvendor
ModulousExample_EXTRA_FRAMEWORKS = Modulous

Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ make clean &&
THEOS_PACKAGE_SCHEME=rootless ARCHS="arm64 arm64e" TARGET=iphone:clang:latest:14.0 make package FINALPACKAGE=1 &&
cp -p "`ls -dtr1 packages/* | tail -1`" $PWD/build/

# build main project (roothide ver.)
make clean &&
THEOS_PACKAGE_SCHEME=roothide ARCHS="arm64 arm64e" TARGET=iphone:clang:latest:14.0 make package FINALPACKAGE=1 &&
cp -p "`ls -dtr1 packages/* | tail -1`" $PWD/build/

# build main project (rooted ver.)
make clean &&
make package FINALPACKAGE=1 &&
Expand Down