diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control index 4570da7..52c35a5 100644 --- a/.theos/_/DEBIAN/control +++ b/.theos/_/DEBIAN/control @@ -9,5 +9,5 @@ Depiction: https://micahpgomez.dev/repo/depicts/depiction.html?selectedPackage=d Maintainer: MicahPGomez Author: MicahPGomez Section: Tweaks -Version: 4.2.0-7+debug +Version: 4.2.0-19+debug Installed-Size: 156 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib index 0773634..5680d4a 100755 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib differ diff --git a/.theos/last_package b/.theos/last_package index 87c09b8..cc4a305 100644 --- a/.theos/last_package +++ b/.theos/last_package @@ -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 diff --git a/.theos/obj/debug/UnderTime.dylib b/.theos/obj/debug/UnderTime.dylib index 0773634..5680d4a 100755 Binary files a/.theos/obj/debug/UnderTime.dylib and b/.theos/obj/debug/UnderTime.dylib differ diff --git a/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.Td b/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.Td new file mode 100644 index 0000000..f73fdef --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.Td @@ -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: diff --git a/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.o b/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.o new file mode 100644 index 0000000..3343ee7 Binary files /dev/null and b/.theos/obj/debug/arm64/Tweak.xm.2b9e5aa1.o differ diff --git a/.theos/obj/debug/arm64/Tweak.xm.fdc523da.Td b/.theos/obj/debug/arm64/Tweak.xm.fdc523da.Td new file mode 100644 index 0000000..896eb1f --- /dev/null +++ b/.theos/obj/debug/arm64/Tweak.xm.fdc523da.Td @@ -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: diff --git a/.theos/obj/debug/arm64/Tweak.xm.fdc523da.o b/.theos/obj/debug/arm64/Tweak.xm.fdc523da.o new file mode 100644 index 0000000..b94e832 Binary files /dev/null and b/.theos/obj/debug/arm64/Tweak.xm.fdc523da.o differ diff --git a/.theos/obj/debug/arm64/Tweak.xm.mm b/.theos/obj/debug/arm64/Tweak.xm.mm index b2c004d..859e824 100644 --- a/.theos/obj/debug/arm64/Tweak.xm.mm +++ b/.theos/obj/debug/arm64/Tweak.xm.mm @@ -2,7 +2,6 @@ #import "important.h" #import - @interface _UIStatusBarStringView : UIView @property (copy) NSString *text; @end @@ -31,12 +30,15 @@ @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 *); -#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) { - 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"); + NSLog(@"UnderTime '%@'", text); _logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, lineOne); } else { @@ -46,4 +48,4 @@ static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF 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$);} } -#line 21 "Tweak.xm" +#line 23 "Tweak.xm" diff --git a/.theos/obj/debug/arm64/UnderTime.dylib b/.theos/obj/debug/arm64/UnderTime.dylib index 7d2ac3a..57382ac 100755 Binary files a/.theos/obj/debug/arm64/UnderTime.dylib and b/.theos/obj/debug/arm64/UnderTime.dylib differ diff --git a/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib b/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib index d351c1a..f5fa54d 100644 Binary files a/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib and b/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib differ diff --git a/.theos/packages/dev.mpg13.notundertime-4.2.0 b/.theos/packages/dev.mpg13.notundertime-4.2.0 index c793025..dec2bf5 100644 --- a/.theos/packages/dev.mpg13.notundertime-4.2.0 +++ b/.theos/packages/dev.mpg13.notundertime-4.2.0 @@ -1 +1 @@ -7 \ No newline at end of file +19 \ No newline at end of file diff --git a/Tweak.xm b/Tweak.xm index 868d7f0..5f98d6f 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -1,16 +1,18 @@ #import "important.h" #import - @interface _UIStatusBarStringView : UIView @property (copy) NSString *text; @end %hook _UIStatusBarStringView +NSString *stringTest = @"%"; + - (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"); + NSLog(@"UnderTime '%@'", text); %orig(lineOne); } else { diff --git a/important.h b/important.h index 2ac0c6a..f047767 100644 --- a/important.h +++ b/important.h @@ -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) diff --git a/packages/dev.mpg13.notundertime_4.2.0-10+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-10+debug_iphoneos-arm.deb new file mode 100644 index 0000000..2fa5367 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-10+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-11+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-11+debug_iphoneos-arm.deb new file mode 100644 index 0000000..fdf07ee Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-11+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-12+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-12+debug_iphoneos-arm.deb new file mode 100644 index 0000000..9b1b039 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-12+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-13+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-13+debug_iphoneos-arm.deb new file mode 100644 index 0000000..5a486a2 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-13+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-14+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-14+debug_iphoneos-arm.deb new file mode 100644 index 0000000..5328609 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-14+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-15+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-15+debug_iphoneos-arm.deb new file mode 100644 index 0000000..97457d1 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-15+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-16+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-16+debug_iphoneos-arm.deb new file mode 100644 index 0000000..b45dd28 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-16+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-17+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-17+debug_iphoneos-arm.deb new file mode 100644 index 0000000..74e8555 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-17+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-18+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-18+debug_iphoneos-arm.deb new file mode 100644 index 0000000..44fc287 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-18+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-19+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-19+debug_iphoneos-arm.deb new file mode 100644 index 0000000..c0f0b86 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-19+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-8+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-8+debug_iphoneos-arm.deb new file mode 100644 index 0000000..32ad8a0 Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-8+debug_iphoneos-arm.deb differ diff --git a/packages/dev.mpg13.notundertime_4.2.0-9+debug_iphoneos-arm.deb b/packages/dev.mpg13.notundertime_4.2.0-9+debug_iphoneos-arm.deb new file mode 100644 index 0000000..8f8455d Binary files /dev/null and b/packages/dev.mpg13.notundertime_4.2.0-9+debug_iphoneos-arm.deb differ