Version 1.0

This commit is contained in:
exoticswingset
2019-12-08 14:25:59 -05:00
committed by GitHub
parent 2c3821f2df
commit 53caded3a0
4 changed files with 32 additions and 0 deletions

1
DualSBAdoption.plist Normal file
View File

@ -0,0 +1 @@
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }

10
Makefile Normal file
View File

@ -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

12
Tweak.x Normal file
View File

@ -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

9
control Normal file
View File

@ -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