From e3d88f712255bdcb94f5428b67c801e380d64f0b Mon Sep 17 00:00:00 2001 From: Adam Demasi Date: Mon, 6 Sep 2021 18:54:38 +0930 Subject: [PATCH] Fix respring/ldrestart logic --- Makefile | 5 ++++- layout/usr/bin/FBRestore | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fb2ed6b..8b74326 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,7 @@ XCODEPROJ_NAME = FlashBack FlashBack_CODESIGN_FLAGS = -Sentitlements.plist -include $(THEOS_MAKE_PATH)/xcodeproj.mk \ No newline at end of file +include $(THEOS_MAKE_PATH)/xcodeproj.mk + +after-stage:: + @sudo chmod 6755 $(THEOS_STAGING_DIR)/usr/bin/fbmobileldrestart diff --git a/layout/usr/bin/FBRestore b/layout/usr/bin/FBRestore index 08bd2e3..c65ad48 100755 --- a/layout/usr/bin/FBRestore +++ b/layout/usr/bin/FBRestore @@ -31,7 +31,6 @@ fi # clear caches and respring uicache recache --no respring &>/dev/null -#sbreload && exit 0 || killall -9 SpringBoard && exit 0 # Kill the script. -#fbmobileldrestart +fbmobileldrestart exit 0