v 4.2.2
This commit is contained in:
parent
be7a129d21
commit
d2f155f1a5
26 changed files with 54 additions and 10 deletions
|
@ -9,5 +9,5 @@ Depiction: https://micahpgomez.dev/repo/depicts/depiction.html?selectedPackage=d
|
||||||
Maintainer: MicahPGomez <jbsupport@micahpgomez.dev>
|
Maintainer: MicahPGomez <jbsupport@micahpgomez.dev>
|
||||||
Author: MicahPGomez <jbsupport@micahpgomez.dev>
|
Author: MicahPGomez <jbsupport@micahpgomez.dev>
|
||||||
Section: Tweaks
|
Section: Tweaks
|
||||||
Version: 4.2.0-7+debug
|
Version: 4.2.0-19+debug
|
||||||
Installed-Size: 156
|
Installed-Size: 156
|
||||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
||||||
./packages/dev.mpg13.notundertime_4.2.0-7+debug_iphoneos-arm.deb
|
./packages/dev.mpg13.notundertime_4.2.0-19+debug_iphoneos-arm.deb
|
||||||
|
|
Binary file not shown.
20
.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.Td
Normal file
20
.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.Td
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/NotUnderTime/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.o: \
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/NotUnderTime/.theos/obj/debug/arm64/Tweak.xm.mm \
|
||||||
|
/Users/micahgomez/theos/Prefix.pch \
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/micahgomez/theos/vendor/include/HBLog.h \
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/NotUnderTime/important.h \
|
||||||
|
/Users/micahgomez/theos/vendor/include/substrate.h
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/NotUnderTime/important.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.o
Normal file
Binary file not shown.
20
.theos/obj/debug/arm64/Tweak.xm.fdc523da.Td
Normal file
20
.theos/obj/debug/arm64/Tweak.xm.fdc523da.Td
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/notundertime/.theos/obj/debug/arm64/Tweak.xm.fdc523da.o: \
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/notundertime/.theos/obj/debug/arm64/Tweak.xm.mm \
|
||||||
|
/Users/micahgomez/theos/Prefix.pch \
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||||
|
/Users/micahgomez/theos/vendor/include/HBLog.h \
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/notundertime/important.h \
|
||||||
|
/Users/micahgomez/theos/vendor/include/substrate.h
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/Prefix.pch:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/HBLog.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/GoogleDrive/Programming/iOS/notundertime/important.h:
|
||||||
|
|
||||||
|
/Users/micahgomez/theos/vendor/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.xm.fdc523da.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.xm.fdc523da.o
Normal file
Binary file not shown.
|
@ -2,7 +2,6 @@
|
||||||
#import "important.h"
|
#import "important.h"
|
||||||
#import <spawn.h>
|
#import <spawn.h>
|
||||||
|
|
||||||
|
|
||||||
@interface _UIStatusBarStringView : UIView
|
@interface _UIStatusBarStringView : UIView
|
||||||
@property (copy) NSString *text;
|
@property (copy) NSString *text;
|
||||||
@end
|
@end
|
||||||
|
@ -31,12 +30,15 @@
|
||||||
@class _UIStatusBarStringView;
|
@class _UIStatusBarStringView;
|
||||||
static void (*_logos_orig$_ungrouped$_UIStatusBarStringView$setText$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *);
|
static void (*_logos_orig$_ungrouped$_UIStatusBarStringView$setText$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *);
|
||||||
|
|
||||||
#line 9 "Tweak.xm"
|
#line 8 "Tweak.xm"
|
||||||
|
|
||||||
|
|
||||||
|
NSString *stringTest = @"%";
|
||||||
|
|
||||||
static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, NSString * text) {
|
static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, NSString * text) {
|
||||||
if(GetPrefBool(@"Enable") && ![text containsString:@":"]) {
|
if(GetPrefBool(@"Enable") && ![text containsString:@":"] && ![text containsString:@"◀︎"] && ![text containsString:stringTest] && ![text isEqual:@""] && ![text isEqual:@"LTE"] && ![text isEqual:@"4G"] && ![text isEqual:@"3G"]) {
|
||||||
NSString *lineOne = GetPrefString(@"lineOne");
|
NSString *lineOne = GetPrefString(@"lineOne");
|
||||||
|
NSLog(@"UnderTime '%@'", text);
|
||||||
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, lineOne);
|
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, lineOne);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -46,4 +48,4 @@ static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF
|
||||||
|
|
||||||
static __attribute__((constructor)) void _logosLocalInit() {
|
static __attribute__((constructor)) void _logosLocalInit() {
|
||||||
{Class _logos_class$_ungrouped$_UIStatusBarStringView = objc_getClass("_UIStatusBarStringView"); MSHookMessageEx(_logos_class$_ungrouped$_UIStatusBarStringView, @selector(setText:), (IMP)&_logos_method$_ungrouped$_UIStatusBarStringView$setText$, (IMP*)&_logos_orig$_ungrouped$_UIStatusBarStringView$setText$);} }
|
{Class _logos_class$_ungrouped$_UIStatusBarStringView = objc_getClass("_UIStatusBarStringView"); MSHookMessageEx(_logos_class$_ungrouped$_UIStatusBarStringView, @selector(setText:), (IMP)&_logos_method$_ungrouped$_UIStatusBarStringView$setText$, (IMP*)&_logos_orig$_ungrouped$_UIStatusBarStringView$setText$);} }
|
||||||
#line 21 "Tweak.xm"
|
#line 23 "Tweak.xm"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
7
|
19
|
6
Tweak.xm
6
Tweak.xm
|
@ -1,16 +1,18 @@
|
||||||
#import "important.h"
|
#import "important.h"
|
||||||
#import <spawn.h>
|
#import <spawn.h>
|
||||||
|
|
||||||
|
|
||||||
@interface _UIStatusBarStringView : UIView
|
@interface _UIStatusBarStringView : UIView
|
||||||
@property (copy) NSString *text;
|
@property (copy) NSString *text;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
%hook _UIStatusBarStringView
|
%hook _UIStatusBarStringView
|
||||||
|
|
||||||
|
NSString *stringTest = @"%";
|
||||||
|
|
||||||
- (void)setText:(NSString *)text {
|
- (void)setText:(NSString *)text {
|
||||||
if(GetPrefBool(@"Enable") && ![text containsString:@":"]) {
|
if(GetPrefBool(@"Enable") && ![text containsString:@":"] && ![text containsString:@"◀︎"] && ![text containsString:stringTest] && ![text isEqual:@""] && ![text isEqual:@"LTE"] && ![text isEqual:@"4G"] && ![text isEqual:@"3G"]) {
|
||||||
NSString *lineOne = GetPrefString(@"lineOne");
|
NSString *lineOne = GetPrefString(@"lineOne");
|
||||||
|
NSLog(@"UnderTime '%@'", text);
|
||||||
%orig(lineOne);
|
%orig(lineOne);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mpg13.UnderTime.plist"
|
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mpg13.NotUnderTime.plist"
|
||||||
|
|
||||||
|
|
||||||
inline bool GetPrefBool(NSString *key)
|
inline bool GetPrefBool(NSString *key)
|
||||||
|
|
BIN
packages/dev.mpg13.notundertime_4.2.0-10+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-10+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-11+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-11+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-12+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-12+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-13+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-13+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-14+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-14+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-15+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-15+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-16+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-16+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-17+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-17+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-18+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-18+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-19+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-19+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-8+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-8+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/dev.mpg13.notundertime_4.2.0-9+debug_iphoneos-arm.deb
Normal file
BIN
packages/dev.mpg13.notundertime_4.2.0-9+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
Reference in a new issue