diff options
Diffstat (limited to 'NoSpotlight')
-rw-r--r-- | NoSpotlight/Makefile | 13 | ||||
-rw-r--r-- | NoSpotlight/NoSpotlight.plist | 1 | ||||
-rw-r--r-- | NoSpotlight/Tweak.x | 10 | ||||
-rw-r--r-- | NoSpotlight/control | 9 |
4 files changed, 33 insertions, 0 deletions
diff --git a/NoSpotlight/Makefile b/NoSpotlight/Makefile new file mode 100644 index 0000000..4fd0271 --- /dev/null +++ b/NoSpotlight/Makefile @@ -0,0 +1,13 @@ +TARGET := iphone:clang:latest:7.0 +INSTALL_TARGET_PROCESSES = SpringBoard + +ARCHS := arm64 arm64e + +include $(THEOS)/makefiles/common.mk + +TWEAK_NAME = NoSpotlight + +NoSpotlight_FILES = Tweak.x +NoSpotlight_CFLAGS = -fobjc-arc + +include $(THEOS_MAKE_PATH)/tweak.mk diff --git a/NoSpotlight/NoSpotlight.plist b/NoSpotlight/NoSpotlight.plist new file mode 100644 index 0000000..e5c60ee --- /dev/null +++ b/NoSpotlight/NoSpotlight.plist @@ -0,0 +1 @@ +{ Filter = { Bundles = ( "com.apple.UIKit" ); }; } diff --git a/NoSpotlight/Tweak.x b/NoSpotlight/Tweak.x new file mode 100644 index 0000000..e3a416b --- /dev/null +++ b/NoSpotlight/Tweak.x @@ -0,0 +1,10 @@ +%hook SBSearchScrollView + +-(void)setScrollEnabled:(BOOL)enabled +{ + %orig(false); +} + +%end + +// vim: filetype=logos diff --git a/NoSpotlight/control b/NoSpotlight/control new file mode 100644 index 0000000..6450389 --- /dev/null +++ b/NoSpotlight/control @@ -0,0 +1,9 @@ +Package: com.cameronkatri.nosplotlight +Name: NoSpotlight +Version: 0.0.1 +Architecture: iphoneos-arm +Description: An awesome MobileSubstrate tweak! +Maintainer: Cameron Katri <me@cameronkatri.com> +Author: Cameron Katri <me@cameronkatri.com> +Section: Tweaks +Depends: mobilesubstrate (>= 0.9.5000) |