@@ -33,7 +33,7 @@ $(TOOL_NAME)_FILES += $(wildcard Sources/include/opainject/*.m)
3333$(TOOL_NAME)_CFLAGS = -w
3434$(TOOL_NAME)_SWIFTFLAGS = -ISources/include
3535ifeq ($(ROOTLESS ) ,1)
36- $(TOOL_NAME)_INSTALL_PATH = /var/jb/ usr/bin
36+ $(TOOL_NAME)_INSTALL_PATH = /usr/bin
3737else
3838$(TOOL_NAME)_INSTALL_PATH = /usr/local/bin
3939endif
@@ -60,14 +60,16 @@ $(LIBRARY_NAME)_LIBRARIES = substrate
6060include $(THEOS ) /makefiles/common.mk
6161include $(THEOS_MAKE_PATH ) /application.mk
6262include $(THEOS_MAKE_PATH ) /library.mk
63+ include $(THEOS_MAKE_PATH ) /tool.mk
64+ include $(THEOS_MAKE_PATH ) /aggregate.mk
6365
6466ifeq ($(ROOTLESS ) ,1)
6567before-package ::
6668 # for mldecryptapp
6769 cp info.plist $(THEOS_STAGING_DIR ) /Applications/$(APPLICATION_NAME ) .app/
6870 ldid -Sent.plist $(THEOS_STAGING_DIR ) /Applications/$(APPLICATION_NAME ) .app/$(APPLICATION_NAME )
6971 # for mldecrypt
70- ldid -S./entitlements.plist $(THEOS_STAGING_DIR ) /var/jb/ usr/bin/$(TOOL_NAME ) ;
72+ ldid -S./entitlements.plist $(THEOS_STAGING_DIR ) /usr/bin/$(TOOL_NAME ) ;
7173
7274# if ldid doesn't work...push entitlements.plist and do ldid on the device
7375after-install ::
@@ -86,10 +88,7 @@ before-package::
8688# if ldid doesn't work...push entitlements.plist and do ldid on the device
8789after-install ::
8890 scp -P2222 ent.plist root@localhost:~ /
89- install.exec " ldid -Sent.plist /var/jb/ Applications/mldecryptapp.app/mldecryptapp"
91+ install.exec " ldid -Sent.plist /Applications/mldecryptapp.app/mldecryptapp"
9092 scp -P2222 entitlements.plist root@localhost:~ /
9193 install.exec " ldid -Sentitlements.plist /usr/local/bin/mldecrypt"
9294endif
93-
94- include $(THEOS_MAKE_PATH ) /tool.mk
95- include $(THEOS_MAKE_PATH ) /aggregate.mk
0 commit comments