diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control deleted file mode 100644 index b78a4d3..0000000 --- a/.theos/_/DEBIAN/control +++ /dev/null @@ -1,12 +0,0 @@ -Package: com.mac-user669.zenithdark -Architecture: iphoneos-arm -Maintainer: mac-user669 -Depends: mobilesubstrate, com.muirey03.zenith, firmware (>=13.0) -Section: Tweaks -Description: Changes Zeniths tabs to a dark blur -Author: mac-user669 -Name: ZenithDark -Sileodepiction: https://raw.githubusercontent.com/mac-user669/repo/master/sileodepictions/ZenithDark.json -Depiction: https://mac-user669.github.io/repo/depictions/?p=com.mac-user669.zenithdark/ -Version: 1.0 -Installed-Size: 344 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib deleted file mode 100755 index 2495a2b..0000000 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib and /dev/null differ diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.plist b/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.plist deleted file mode 100644 index 4aadfb4..0000000 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.plist and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Info.plist b/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Info.plist deleted file mode 100644 index 7408492..0000000 Binary files a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Info.plist and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist b/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist deleted file mode 100644 index 7eafae2..0000000 Binary files a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist and /dev/null differ diff --git a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/ZenithDarkPrefs b/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/ZenithDarkPrefs deleted file mode 100755 index 3bf235f..0000000 Binary files a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/ZenithDarkPrefs and /dev/null differ diff --git a/.theos/_/Library/PreferenceLoader/Preferences/ZenithDarkPrefs.plist b/.theos/_/Library/PreferenceLoader/Preferences/ZenithDarkPrefs.plist deleted file mode 100644 index 8e5955f..0000000 Binary files a/.theos/_/Library/PreferenceLoader/Preferences/ZenithDarkPrefs.plist and /dev/null differ diff --git a/.theos/build_session b/.theos/build_session deleted file mode 100644 index e69de29..0000000 diff --git a/.theos/fakeroot b/.theos/fakeroot deleted file mode 100644 index e69de29..0000000 diff --git a/.theos/last_package b/.theos/last_package deleted file mode 100644 index 41b9a78..0000000 --- a/.theos/last_package +++ /dev/null @@ -1 +0,0 @@ -./packages/com.mac-user669.zenithdark_1.0_iphoneos-arm.deb diff --git a/.theos/obj/.stamp b/.theos/obj/.stamp deleted file mode 100644 index e69de29..0000000 diff --git a/.theos/obj/ZenithDark.dylib b/.theos/obj/ZenithDark.dylib deleted file mode 100755 index 2495a2b..0000000 Binary files a/.theos/obj/ZenithDark.dylib and /dev/null differ diff --git a/.theos/obj/ZenithDarkPrefs.bundle/Info.plist b/.theos/obj/ZenithDarkPrefs.bundle/Info.plist deleted file mode 100644 index 86d931a..0000000 --- a/.theos/obj/ZenithDarkPrefs.bundle/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ZenithDarkPrefs - CFBundleIdentifier - com.mac-user669.zenithdarkprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - ZnthDrkRootListController - - diff --git a/.theos/obj/ZenithDarkPrefs.bundle/Root.plist b/.theos/obj/ZenithDarkPrefs.bundle/Root.plist deleted file mode 100644 index 727bd0f..0000000 --- a/.theos/obj/ZenithDarkPrefs.bundle/Root.plist +++ /dev/null @@ -1,42 +0,0 @@ - - - - - items - - - cell - PSGroupCell - label - Enable - - - cell - PSSwitchCell - default - - defaults - com.mac-user669.zenithdarkprefs - key - enabled - label - Enable - - - - cell - PSGroupCell - - - cell - PSButtonCell - label - @mac_user669 - action - openTwitter - - - title - ZenithDark - - \ No newline at end of file diff --git a/.theos/obj/ZenithDarkPrefs.bundle/ZenithDarkPrefs b/.theos/obj/ZenithDarkPrefs.bundle/ZenithDarkPrefs deleted file mode 100755 index 3bf235f..0000000 Binary files a/.theos/obj/ZenithDarkPrefs.bundle/ZenithDarkPrefs and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.xm.27a6b95b.Td b/.theos/obj/arm64/Tweak.xm.27a6b95b.Td deleted file mode 100644 index 7d06125..0000000 --- a/.theos/obj/arm64/Tweak.xm.27a6b95b.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.27a6b95b.o: \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/include/HBLog.h \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/include/HBLog.h: - -/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.xm.458c23e8.Td b/.theos/obj/arm64/Tweak.xm.458c23e8.Td deleted file mode 100644 index 0e3e757..0000000 --- a/.theos/obj/arm64/Tweak.xm.458c23e8.Td +++ /dev/null @@ -1,23 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.458c23e8.o: \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/vendor/include/HBLog.h \ - /Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/vendor/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/vendor/include/HBLog.h: - -/Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.xm.458c23e8.o b/.theos/obj/arm64/Tweak.xm.458c23e8.o deleted file mode 100644 index 9683ab7..0000000 Binary files a/.theos/obj/arm64/Tweak.xm.458c23e8.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.xm.c3718326.Td b/.theos/obj/arm64/Tweak.xm.c3718326.Td deleted file mode 100644 index 55e9720..0000000 --- a/.theos/obj/arm64/Tweak.xm.c3718326.Td +++ /dev/null @@ -1,23 +0,0 @@ -/Users/cooperhull/tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.c3718326.o: \ - /Users/cooperhull/tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/vendor/include/HBLog.h \ - /Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/cooperhull/tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/vendor/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/vendor/include/HBLog.h: - -/Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/cooperhull/tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.xm.c3718326.o b/.theos/obj/arm64/Tweak.xm.c3718326.o deleted file mode 100644 index e3aa698..0000000 Binary files a/.theos/obj/arm64/Tweak.xm.c3718326.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.xm.c4e2add9.Td b/.theos/obj/arm64/Tweak.xm.c4e2add9.Td deleted file mode 100644 index 863f047..0000000 --- a/.theos/obj/arm64/Tweak.xm.c4e2add9.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.c4e2add9.o: \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/include/HBLog.h \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/include/HBLog.h: - -/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/include/substrate.h: diff --git a/.theos/obj/arm64/Tweak.xm.c4e2add9.o b/.theos/obj/arm64/Tweak.xm.c4e2add9.o deleted file mode 100644 index d80c567..0000000 Binary files a/.theos/obj/arm64/Tweak.xm.c4e2add9.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.xm.mm b/.theos/obj/arm64/Tweak.xm.mm deleted file mode 100644 index 2562b5f..0000000 --- a/.theos/obj/arm64/Tweak.xm.mm +++ /dev/null @@ -1,108 +0,0 @@ -#line 1 "Tweak.xm" - - - - - - - - - - - -#import "ZenithDark.h" - -static BOOL enabled; -static void loadPrefs() { - static NSMutableDictionary *settings; - - CFArrayRef keyList = CFPreferencesCopyKeyList(CFSTR("com.mac-user669.zenithdarkprefs"), kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - if (keyList) { - settings = (NSMutableDictionary *)CFBridgingRelease(CFPreferencesCopyMultiple(keyList, CFSTR("com.mac-user669.zenithdarkprefs"), kCFPreferencesCurrentUser, kCFPreferencesAnyHost)); - CFRelease(keyList); - } else { - settings = [NSMutableDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.mac-user669.zenithdarkprefs.plist"]; - } - - enabled = [([settings objectForKey:@"enabled"] ? [settings objectForKey:@"enabled"] : @(YES)) boolValue]; -} - - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class ZNGrabberAccessoryView; -static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *); - -#line 30 "Tweak.xm" - - -static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UITraitCollection * previousTraitCollection) { - if (enabled) { - _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection); - if (@available(iOS 13, *)) { - if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) { - [self setBackgroundColor:kDarkModeColor]; - } - - else { - [self setBackgroundColor:kLightModeColor]; - } - } - } - _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection); -} - - - -static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIColor * backgroundColor) { - if (enabled) { - - if (@available(iOS 13, *)) { - if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) { - _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, kDarkModeColor); - } - - else { - _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor); - } - } - } - _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor); -} - - - - - - - -static __attribute__((constructor)) void _logosLocalCtor_7f270ec4(int __unused argc, char __unused **argv, char __unused **envp) { - -loadPrefs(); - - -dlopen ("/Library/MobileSubstrate/DynamicLibraries/Zenith.dylib", RTLD_NOW); - -} -static __attribute__((constructor)) void _logosLocalInit() { -{Class _logos_class$_ungrouped$ZNGrabberAccessoryView = objc_getClass("ZNGrabberAccessoryView"); MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(traitCollectionDidChange:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$);MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(setBackgroundColor:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$);} } -#line 80 "Tweak.xm" diff --git a/.theos/obj/arm64/ZenithDark.dylib b/.theos/obj/arm64/ZenithDark.dylib deleted file mode 100755 index be03d3c..0000000 Binary files a/.theos/obj/arm64/ZenithDark.dylib and /dev/null differ diff --git a/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 1670f3b..0000000 --- a/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.ZenithDark.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib b/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib deleted file mode 100644 index b227cd9..0000000 Binary files a/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib and /dev/null differ diff --git a/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs b/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs deleted file mode 100755 index a11c233..0000000 Binary files a/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs and /dev/null differ diff --git a/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Info.plist deleted file mode 100644 index 8249226..0000000 --- a/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.ZenithDarkPrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Resources/DWARF/ZenithDarkPrefs b/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Resources/DWARF/ZenithDarkPrefs deleted file mode 100644 index e64972c..0000000 Binary files a/.theos/obj/arm64/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Resources/DWARF/ZenithDarkPrefs and /dev/null differ diff --git a/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.Td b/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.Td deleted file mode 100644 index d9f1842..0000000 --- a/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.Td +++ /dev/null @@ -1,25 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.o: \ - ZnthDrkRootListController.m /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/vendor/include/HBLog.h \ - /Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - ZnthDrkRootListController.h \ - /Users/cooperhull/theos/vendor/include/Preferences/PSListController.h \ - /Users/cooperhull/theos/vendor/include/Preferences/PSViewController.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/vendor/include/HBLog.h: - -/Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -ZnthDrkRootListController.h: - -/Users/cooperhull/theos/vendor/include/Preferences/PSListController.h: - -/Users/cooperhull/theos/vendor/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.o b/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.o deleted file mode 100644 index ce5e0d6..0000000 Binary files a/.theos/obj/arm64/ZnthDrkRootListController.m.6bc7b8e1.o and /dev/null differ diff --git a/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.Td b/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.Td deleted file mode 100644 index 8b624eb..0000000 --- a/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.Td +++ /dev/null @@ -1,21 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.o: \ - ZnthDrkRootListController.m /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/include/HBLog.h ZnthDrkRootListController.h \ - /Users/cooperhull/theos/include/Preferences/PSListController.h \ - /Users/cooperhull/theos/include/Preferences/PSViewController.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/include/HBLog.h: - -ZnthDrkRootListController.h: - -/Users/cooperhull/theos/include/Preferences/PSListController.h: - -/Users/cooperhull/theos/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.o b/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.o deleted file mode 100644 index 0ca1930..0000000 Binary files a/.theos/obj/arm64/ZnthDrkRootListController.m.a07a2f8d.o and /dev/null differ diff --git a/.theos/obj/arm64e/Tweak.xm.09225f44.Td b/.theos/obj/arm64e/Tweak.xm.09225f44.Td deleted file mode 100644 index 1998bcb..0000000 --- a/.theos/obj/arm64e/Tweak.xm.09225f44.Td +++ /dev/null @@ -1,23 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.09225f44.o: \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/vendor/include/HBLog.h \ - /Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/vendor/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/vendor/include/HBLog.h: - -/Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64e/Tweak.xm.09225f44.o b/.theos/obj/arm64e/Tweak.xm.09225f44.o deleted file mode 100644 index 60dbce6..0000000 Binary files a/.theos/obj/arm64e/Tweak.xm.09225f44.o and /dev/null differ diff --git a/.theos/obj/arm64e/Tweak.xm.6dacc520.Td b/.theos/obj/arm64e/Tweak.xm.6dacc520.Td deleted file mode 100644 index 6dfac25..0000000 --- a/.theos/obj/arm64e/Tweak.xm.6dacc520.Td +++ /dev/null @@ -1,23 +0,0 @@ -/Users/cooperhull/tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.6dacc520.o: \ - /Users/cooperhull/tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/vendor/include/HBLog.h \ - /Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h \ - /Users/cooperhull/tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/vendor/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/vendor/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/vendor/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/vendor/include/HBLog.h: - -/Users/cooperhull/theos/vendor/include/CoreFoundation/CFLogUtilities.h: - -/Users/cooperhull/tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/vendor/include/substrate.h: diff --git a/.theos/obj/arm64e/Tweak.xm.6dacc520.o b/.theos/obj/arm64e/Tweak.xm.6dacc520.o deleted file mode 100644 index 34342ec..0000000 Binary files a/.theos/obj/arm64e/Tweak.xm.6dacc520.o and /dev/null differ diff --git a/.theos/obj/arm64e/Tweak.xm.6fecb14d.Td b/.theos/obj/arm64e/Tweak.xm.6fecb14d.Td deleted file mode 100644 index 4a4f27f..0000000 --- a/.theos/obj/arm64e/Tweak.xm.6fecb14d.Td +++ /dev/null @@ -1,20 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.6fecb14d.o: \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.mm \ - /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/include/HBLog.h \ - /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \ - /Users/cooperhull/theos/include/substrate.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/include/HBLog.h: - -/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h: - -/Users/cooperhull/theos/include/substrate.h: diff --git a/.theos/obj/arm64e/Tweak.xm.6fecb14d.o b/.theos/obj/arm64e/Tweak.xm.6fecb14d.o deleted file mode 100644 index 520acd2..0000000 Binary files a/.theos/obj/arm64e/Tweak.xm.6fecb14d.o and /dev/null differ diff --git a/.theos/obj/arm64e/Tweak.xm.mm b/.theos/obj/arm64e/Tweak.xm.mm deleted file mode 100644 index 2562b5f..0000000 --- a/.theos/obj/arm64e/Tweak.xm.mm +++ /dev/null @@ -1,108 +0,0 @@ -#line 1 "Tweak.xm" - - - - - - - - - - - -#import "ZenithDark.h" - -static BOOL enabled; -static void loadPrefs() { - static NSMutableDictionary *settings; - - CFArrayRef keyList = CFPreferencesCopyKeyList(CFSTR("com.mac-user669.zenithdarkprefs"), kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - if (keyList) { - settings = (NSMutableDictionary *)CFBridgingRelease(CFPreferencesCopyMultiple(keyList, CFSTR("com.mac-user669.zenithdarkprefs"), kCFPreferencesCurrentUser, kCFPreferencesAnyHost)); - CFRelease(keyList); - } else { - settings = [NSMutableDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.mac-user669.zenithdarkprefs.plist"]; - } - - enabled = [([settings objectForKey:@"enabled"] ? [settings objectForKey:@"enabled"] : @(YES)) boolValue]; -} - - - -#include -#if defined(__clang__) -#if __has_feature(objc_arc) -#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained -#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed)) -#define _LOGOS_SELF_CONST const -#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained)) -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif -#else -#define _LOGOS_SELF_TYPE_NORMAL -#define _LOGOS_SELF_TYPE_INIT -#define _LOGOS_SELF_CONST -#define _LOGOS_RETURN_RETAINED -#endif - -@class ZNGrabberAccessoryView; -static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *); - -#line 30 "Tweak.xm" - - -static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UITraitCollection * previousTraitCollection) { - if (enabled) { - _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection); - if (@available(iOS 13, *)) { - if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) { - [self setBackgroundColor:kDarkModeColor]; - } - - else { - [self setBackgroundColor:kLightModeColor]; - } - } - } - _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection); -} - - - -static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIColor * backgroundColor) { - if (enabled) { - - if (@available(iOS 13, *)) { - if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) { - _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, kDarkModeColor); - } - - else { - _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor); - } - } - } - _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor); -} - - - - - - - -static __attribute__((constructor)) void _logosLocalCtor_7f270ec4(int __unused argc, char __unused **argv, char __unused **envp) { - -loadPrefs(); - - -dlopen ("/Library/MobileSubstrate/DynamicLibraries/Zenith.dylib", RTLD_NOW); - -} -static __attribute__((constructor)) void _logosLocalInit() { -{Class _logos_class$_ungrouped$ZNGrabberAccessoryView = objc_getClass("ZNGrabberAccessoryView"); MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(traitCollectionDidChange:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$);MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(setBackgroundColor:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$);} } -#line 80 "Tweak.xm" diff --git a/.theos/obj/arm64e/ZenithDark.dylib b/.theos/obj/arm64e/ZenithDark.dylib deleted file mode 100755 index a494c2b..0000000 Binary files a/.theos/obj/arm64e/ZenithDark.dylib and /dev/null differ diff --git a/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 1670f3b..0000000 --- a/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.ZenithDark.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib b/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib deleted file mode 100644 index d6093f7..0000000 Binary files a/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib and /dev/null differ diff --git a/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs b/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs deleted file mode 100755 index d7b3c0f..0000000 Binary files a/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs and /dev/null differ diff --git a/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Info.plist b/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Info.plist deleted file mode 100644 index 8249226..0000000 --- a/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.ZenithDarkPrefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Resources/DWARF/ZenithDarkPrefs b/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Resources/DWARF/ZenithDarkPrefs deleted file mode 100644 index 773dbb4..0000000 Binary files a/.theos/obj/arm64e/ZenithDarkPrefs.bundle/ZenithDarkPrefs.dSYM/Contents/Resources/DWARF/ZenithDarkPrefs and /dev/null differ diff --git a/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.Td b/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.Td deleted file mode 100644 index b8aa3bb..0000000 --- a/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.Td +++ /dev/null @@ -1,21 +0,0 @@ -/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.o: \ - ZnthDrkRootListController.m /Users/cooperhull/theos/Prefix.pch \ - /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \ - /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \ - /Users/cooperhull/theos/include/HBLog.h ZnthDrkRootListController.h \ - /Users/cooperhull/theos/include/Preferences/PSListController.h \ - /Users/cooperhull/theos/include/Preferences/PSViewController.h - -/Users/cooperhull/theos/Prefix.pch: - -/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h: - -/Users/cooperhull/theos/include/_Prefix/IOSMacros.h: - -/Users/cooperhull/theos/include/HBLog.h: - -ZnthDrkRootListController.h: - -/Users/cooperhull/theos/include/Preferences/PSListController.h: - -/Users/cooperhull/theos/include/Preferences/PSViewController.h: diff --git a/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.o b/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.o deleted file mode 100644 index 6f253d0..0000000 Binary files a/.theos/obj/arm64e/ZnthDrkRootListController.m.8d8dbbf4.o and /dev/null differ