remove .theos
This commit is contained in:
@ -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
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
./packages/com.mac-user669.zenithdark_1.0_iphoneos-arm.deb
|
Binary file not shown.
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>ZenithDarkPrefs</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.mac-user669.zenithdarkprefs</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>ZnthDrkRootListController</string>
|
||||
</dict>
|
||||
</plist>
|
@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Enable</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<key>defaults</key>
|
||||
<string>com.mac-user669.zenithdarkprefs</string>
|
||||
<key>key</key>
|
||||
<string>enabled</string>
|
||||
<key>label</key>
|
||||
<string>Enable</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSButtonCell</string>
|
||||
<key>label</key>
|
||||
<string>@mac_user669</string>
|
||||
<key>action</key>
|
||||
<string>openTwitter</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>title</key>
|
||||
<string>ZenithDark</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
@ -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:
|
@ -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:
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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 <substrate.h>
|
||||
#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"
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.ZenithDark.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.ZenithDarkPrefs</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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:
|
Binary file not shown.
@ -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 <substrate.h>
|
||||
#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"
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.ZenithDark.dylib</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.ZenithDarkPrefs</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Binary file not shown.
@ -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:
|
Binary file not shown.
Reference in New Issue
Block a user