Fix respring/ldrestart logic
This commit is contained in:
parent
d840d11a72
commit
e3d88f7122
2 changed files with 5 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -5,3 +5,6 @@ XCODEPROJ_NAME = FlashBack
|
||||||
FlashBack_CODESIGN_FLAGS = -Sentitlements.plist
|
FlashBack_CODESIGN_FLAGS = -Sentitlements.plist
|
||||||
|
|
||||||
include $(THEOS_MAKE_PATH)/xcodeproj.mk
|
include $(THEOS_MAKE_PATH)/xcodeproj.mk
|
||||||
|
|
||||||
|
after-stage::
|
||||||
|
@sudo chmod 6755 $(THEOS_STAGING_DIR)/usr/bin/fbmobileldrestart
|
||||||
|
|
|
@ -31,7 +31,6 @@ fi
|
||||||
# clear caches and respring
|
# clear caches and respring
|
||||||
uicache
|
uicache
|
||||||
recache --no respring &>/dev/null
|
recache --no respring &>/dev/null
|
||||||
#sbreload && exit 0 || killall -9 SpringBoard && exit 0 # Kill the script.
|
fbmobileldrestart
|
||||||
#fbmobileldrestart
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Reference in a new issue