From 53caded3a02a72aadb954ad3674d1fe98e30a7c0 Mon Sep 17 00:00:00 2001 From: exoticswingset <58611901+exoticswingset@users.noreply.github.com> Date: Sun, 8 Dec 2019 14:25:59 -0500 Subject: [PATCH] Version 1.0 --- DualSBAdoption.plist | 1 + Makefile | 10 ++++++++++ Tweak.x | 12 ++++++++++++ control | 9 +++++++++ 4 files changed, 32 insertions(+) create mode 100644 DualSBAdoption.plist create mode 100644 Makefile create mode 100644 Tweak.x create mode 100644 control diff --git a/DualSBAdoption.plist b/DualSBAdoption.plist new file mode 100644 index 0000000..10dc654 --- /dev/null +++ b/DualSBAdoption.plist @@ -0,0 +1 @@ +{ Filter = { Bundles = ( "com.apple.springboard" ); }; } diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f5a6b1c --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +INSTALL_TARGET_PROCESSES = SpringBoard +ARCHS = arm64 arm64e +include ~/theos/makefiles/common.mk + +TWEAK_NAME = DualSBAdoption + +TransStatus_FILES = Tweak.x +TransStatus_CFLAGS = -fobjc-arc + +include ~/theos/makefiles/tweak.mk diff --git a/Tweak.x b/Tweak.x new file mode 100644 index 0000000..1334da5 --- /dev/null +++ b/Tweak.x @@ -0,0 +1,12 @@ +%hook UIStatusBar_Modern +-(void)setAlpha:(CGFloat)arg1 { + %orig(0.0); // makes status bar transparent on lock screen +} + +%end + +%hook SBDashBoardTeachableMomentsContainerView +-(void)_addControlCenterTutors { + // Nothing here to prevent the cc grabber from showing +} +%end diff --git a/control b/control new file mode 100644 index 0000000..94b0192 --- /dev/null +++ b/control @@ -0,0 +1,9 @@ +Package: com.exoticswingset.dualsbadoption +Name: DualSBAdoption +Depends: mobilesubstrate +Version: 1.0 +Architecture: iphoneos-arm +Description: An awesome MobileSubstrate tweak! +Maintainer: ExoticSwingset +Author: ExoticSwingset +Section: Tweaks