diff --git a/.DS_Store b/.DS_Store index 4b6816f..17e968d 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control index 2d4b27a..5a0803e 100644 --- a/.theos/_/DEBIAN/control +++ b/.theos/_/DEBIAN/control @@ -6,5 +6,5 @@ Description: A very noice tweak to configure the dock a bit more... Maintainer: burrit0z Author: burrit0z Section: Tweaks -Version: 1.2 -Installed-Size: 348 +Version: 1.2-5+debug +Installed-Size: 412 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib index dbffc32..b6ead6c 100755 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.dylib differ diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.plist b/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.plist index 4aadfb4..10dc654 100644 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.plist and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/testing.plist differ diff --git a/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Info.plist b/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Info.plist index be135dd..a788427 100644 Binary files a/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Info.plist and b/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Info.plist differ diff --git a/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Root.plist b/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Root.plist index 911784a..89e5b60 100644 Binary files a/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Root.plist and b/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/Root.plist differ diff --git a/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/dockifyprefs b/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/dockifyprefs index df0e76c..3c0193b 100755 Binary files a/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/dockifyprefs and b/.theos/_/Library/PreferenceBundles/dockifyprefs.bundle/dockifyprefs differ diff --git a/.theos/_/Library/PreferenceLoader/Preferences/dockifyprefs.plist b/.theos/_/Library/PreferenceLoader/Preferences/dockifyprefs.plist index 472cd12..37bfd50 100644 Binary files a/.theos/_/Library/PreferenceLoader/Preferences/dockifyprefs.plist and b/.theos/_/Library/PreferenceLoader/Preferences/dockifyprefs.plist differ diff --git a/.theos/last_package b/.theos/last_package index c409f53..e98c776 100644 --- a/.theos/last_package +++ b/.theos/last_package @@ -1 +1 @@ -./packages/com.burritoz.testing_1.2_iphoneos-arm.deb +./packages/com.burritoz.testing_1.2-5+debug_iphoneos-arm.deb diff --git a/.theos/obj/arm64/Tweak.x.4bcb81e5.o b/.theos/obj/arm64/Tweak.x.4bcb81e5.o deleted file mode 100644 index 474c611..0000000 Binary files a/.theos/obj/arm64/Tweak.x.4bcb81e5.o and /dev/null differ diff --git a/.theos/obj/arm64/Tweak.x.m b/.theos/obj/arm64/Tweak.x.m deleted file mode 100644 index 44e6a81..0000000 --- a/.theos/obj/arm64/Tweak.x.m +++ /dev/null @@ -1,90 +0,0 @@ -#line 1 "Tweak.x" - -#import -#import -#import -#include - - -static BOOL transparent; -static BOOL hidden; -static double setHeight; -static double customOpacity; -static NSInteger setIconNumber; - -HBPreferences *preferences; - - - -#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 SBDockIconListView; @class SBDockView; -static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); - -#line 17 "Tweak.x" - - - -static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) { - if (transparent == NO && hidden == NO) { - _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity); - }else if (transparent || hidden) { - _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0); - } else { - NSLog(@"Dock not Transparent/hidden, no custom opacity\n"); - } -} - -static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight); - } - - - - - -static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - if (hidden) { - return (0); - } else { - return (setIconNumber); - } -} - - - -static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) { - preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; - [preferences registerDefaults:@{ - @"setHeight": @1, - @"customOpacity": @1, - @"hidden": @NO, - @"setIconNumber": @4, - }]; - [preferences registerBool:&transparent default:YES forKey:@"transparent"]; - [preferences registerBool:&hidden default:NO forKey:@"hidden"]; - [preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"]; - [preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"]; - [preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; -} -static __attribute__((constructor)) void _logosLocalInit() { -{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);} } -#line 62 "Tweak.x" diff --git a/.theos/obj/arm64/burRootListController.m.49278f3c.o b/.theos/obj/arm64/burRootListController.m.49278f3c.o deleted file mode 100644 index 26de27d..0000000 Binary files a/.theos/obj/arm64/burRootListController.m.49278f3c.o and /dev/null differ diff --git a/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs b/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs deleted file mode 100755 index 5a8be2f..0000000 Binary files a/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs and /dev/null differ diff --git a/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist b/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist deleted file mode 100644 index ef47890..0000000 --- a/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.dockifyprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs b/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs deleted file mode 100644 index 92030df..0000000 Binary files a/.theos/obj/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs and /dev/null differ diff --git a/.theos/obj/arm64/testing.dylib b/.theos/obj/arm64/testing.dylib deleted file mode 100755 index cae3523..0000000 Binary files a/.theos/obj/arm64/testing.dylib and /dev/null differ diff --git a/.theos/obj/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib deleted file mode 100644 index 0f42ecf..0000000 Binary files a/.theos/obj/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and /dev/null differ diff --git a/.theos/obj/arm64e/Tweak.x.a82baa7e.o b/.theos/obj/arm64e/Tweak.x.a82baa7e.o deleted file mode 100644 index 3e11e6e..0000000 Binary files a/.theos/obj/arm64e/Tweak.x.a82baa7e.o and /dev/null differ diff --git a/.theos/obj/arm64e/Tweak.x.m b/.theos/obj/arm64e/Tweak.x.m deleted file mode 100644 index a0d6233..0000000 --- a/.theos/obj/arm64e/Tweak.x.m +++ /dev/null @@ -1,90 +0,0 @@ -#line 1 "Tweak.x" - -#import -#import -#import -#include - - -static BOOL transparent; -static BOOL hidden; -static double setHeight; -static double customOpacity; -static NSInteger setIconNumber; - -HBPreferences *preferences; - - - -#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 SBDockView; @class SBDockIconListView; -static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); - -#line 17 "Tweak.x" - - - -static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) { - if (transparent == NO && hidden == NO) { - _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity); - }else if (transparent || hidden) { - _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0); - } else { - NSLog(@"Dock not Transparent/hidden, no custom opacity\n"); - } -} - -static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight); - } - - - - - -static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - if (hidden) { - return (0); - } else { - return (setIconNumber); - } -} - - - -static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) { - preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; - [preferences registerDefaults:@{ - @"setHeight": @1, - @"customOpacity": @1, - @"hidden": @NO, - @"setIconNumber": @4, - }]; - [preferences registerBool:&transparent default:YES forKey:@"transparent"]; - [preferences registerBool:&hidden default:NO forKey:@"hidden"]; - [preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"]; - [preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"]; - [preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; -} -static __attribute__((constructor)) void _logosLocalInit() { -{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);} } -#line 62 "Tweak.x" diff --git a/.theos/obj/arm64e/burRootListController.m.7e65d79b.o b/.theos/obj/arm64e/burRootListController.m.7e65d79b.o deleted file mode 100644 index 0c35266..0000000 Binary files a/.theos/obj/arm64e/burRootListController.m.7e65d79b.o and /dev/null differ diff --git a/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs b/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs deleted file mode 100755 index dab47d4..0000000 Binary files a/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs and /dev/null differ diff --git a/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist b/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist deleted file mode 100644 index ef47890..0000000 --- a/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.dockifyprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs b/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs deleted file mode 100644 index a084778..0000000 Binary files a/.theos/obj/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs and /dev/null differ diff --git a/.theos/obj/arm64e/testing.dylib.dSYM/Contents/Info.plist b/.theos/obj/arm64e/testing.dylib.dSYM/Contents/Info.plist deleted file mode 100644 index 6823c79..0000000 --- a/.theos/obj/arm64e/testing.dylib.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.testing.dylib - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib deleted file mode 100644 index 533a509..0000000 Binary files a/.theos/obj/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and /dev/null differ diff --git a/.theos/obj/armv7/burRootListController.m.782acef0.o b/.theos/obj/armv7/burRootListController.m.782acef0.o deleted file mode 100644 index a1e8a62..0000000 Binary files a/.theos/obj/armv7/burRootListController.m.782acef0.o and /dev/null differ diff --git a/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs b/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs deleted file mode 100755 index 1480507..0000000 Binary files a/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs and /dev/null differ diff --git a/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist b/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist deleted file mode 100644 index ef47890..0000000 --- a/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.apple.xcode.dsym.dockifyprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - dSYM - CFBundleSignature - ???? - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs b/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs deleted file mode 100644 index f337ef4..0000000 Binary files a/.theos/obj/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs and /dev/null differ diff --git a/.theos/obj/debug/arm64/Tweak.x.b761c000.Td b/.theos/obj/debug/arm64/Tweak.x.b761c000.Td index 0844eec..d7019a9 100644 --- a/.theos/obj/debug/arm64/Tweak.x.b761c000.Td +++ b/.theos/obj/debug/arm64/Tweak.x.b761c000.Td @@ -5,9 +5,10 @@ /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ /Users/carsonzielinski/Documents/theos/include/HBLog.h \ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ /Users/carsonzielinski/Documents/theos/include/substrate.h @@ -21,12 +22,14 @@ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: -/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: /Users/carsonzielinski/Documents/theos/include/substrate.h: diff --git a/.theos/obj/debug/arm64/Tweak.x.b761c000.o b/.theos/obj/debug/arm64/Tweak.x.b761c000.o index a718874..9579e3b 100644 Binary files a/.theos/obj/debug/arm64/Tweak.x.b761c000.o and b/.theos/obj/debug/arm64/Tweak.x.b761c000.o differ diff --git a/.theos/obj/arm64/Tweak.x.4bcb81e5.Td b/.theos/obj/debug/arm64/Tweak.x.cce53864.Td similarity index 82% rename from .theos/obj/arm64/Tweak.x.4bcb81e5.Td rename to .theos/obj/debug/arm64/Tweak.x.cce53864.Td index 4dc5599..6554dde 100644 --- a/.theos/obj/arm64/Tweak.x.4bcb81e5.Td +++ b/.theos/obj/debug/arm64/Tweak.x.cce53864.Td @@ -1,13 +1,14 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/Tweak.x.4bcb81e5.o: \ - /Users/carsonzielinski/Documents/testing/.theos/obj/arm64/Tweak.x.m \ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.cce53864.o: \ + /Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.m \ /Users/carsonzielinski/Documents/theos/Prefix.pch \ /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ /Users/carsonzielinski/Documents/theos/include/HBLog.h \ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ /Users/carsonzielinski/Documents/theos/include/substrate.h @@ -21,12 +22,14 @@ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: -/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: /Users/carsonzielinski/Documents/theos/include/substrate.h: diff --git a/.theos/obj/debug/arm64/Tweak.x.cce53864.o b/.theos/obj/debug/arm64/Tweak.x.cce53864.o new file mode 100644 index 0000000..8e11c5f Binary files /dev/null and b/.theos/obj/debug/arm64/Tweak.x.cce53864.o differ diff --git a/.theos/obj/debug/arm64/Tweak.x.m b/.theos/obj/debug/arm64/Tweak.x.m deleted file mode 100644 index 44e6a81..0000000 --- a/.theos/obj/debug/arm64/Tweak.x.m +++ /dev/null @@ -1,90 +0,0 @@ -#line 1 "Tweak.x" - -#import -#import -#import -#include - - -static BOOL transparent; -static BOOL hidden; -static double setHeight; -static double customOpacity; -static NSInteger setIconNumber; - -HBPreferences *preferences; - - - -#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 SBDockIconListView; @class SBDockView; -static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); - -#line 17 "Tweak.x" - - - -static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) { - if (transparent == NO && hidden == NO) { - _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity); - }else if (transparent || hidden) { - _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0); - } else { - NSLog(@"Dock not Transparent/hidden, no custom opacity\n"); - } -} - -static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight); - } - - - - - -static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { - if (hidden) { - return (0); - } else { - return (setIconNumber); - } -} - - - -static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) { - preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; - [preferences registerDefaults:@{ - @"setHeight": @1, - @"customOpacity": @1, - @"hidden": @NO, - @"setIconNumber": @4, - }]; - [preferences registerBool:&transparent default:YES forKey:@"transparent"]; - [preferences registerBool:&hidden default:NO forKey:@"hidden"]; - [preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"]; - [preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"]; - [preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; -} -static __attribute__((constructor)) void _logosLocalInit() { -{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);} } -#line 62 "Tweak.x" diff --git a/.theos/obj/armv7/burRootListController.m.782acef0.Td b/.theos/obj/debug/arm64/burRootListController.m.320cd592.Td similarity index 97% rename from .theos/obj/armv7/burRootListController.m.782acef0.Td rename to .theos/obj/debug/arm64/burRootListController.m.320cd592.Td index acd4445..a788002 100644 --- a/.theos/obj/armv7/burRootListController.m.782acef0.Td +++ b/.theos/obj/debug/arm64/burRootListController.m.320cd592.Td @@ -1,4 +1,4 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/armv7/burRootListController.m.782acef0.o: \ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/burRootListController.m.320cd592.o: \ burRootListController.m \ /Users/carsonzielinski/Documents/theos/Prefix.pch \ /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ diff --git a/.theos/obj/debug/arm64/burRootListController.m.320cd592.o b/.theos/obj/debug/arm64/burRootListController.m.320cd592.o new file mode 100644 index 0000000..1e49017 Binary files /dev/null and b/.theos/obj/debug/arm64/burRootListController.m.320cd592.o differ diff --git a/.theos/obj/debug/arm64/burRootListController.m.e1c44485.Td b/.theos/obj/debug/arm64/burRootListController.m.e1c44485.Td deleted file mode 100644 index 9faaf93..0000000 --- a/.theos/obj/debug/arm64/burRootListController.m.e1c44485.Td +++ /dev/null @@ -1,56 +0,0 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/burRootListController.m.e1c44485.o: \ - burRootListController.m \ - /Users/carsonzielinski/Documents/theos/Prefix.pch \ - /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ - /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ - /Users/carsonzielinski/Documents/theos/include/HBLog.h \ - /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - burRootListController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h - -/Users/carsonzielinski/Documents/theos/Prefix.pch: - -/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: - -/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: - -/Users/carsonzielinski/Documents/theos/include/HBLog.h: - -/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: - -burRootListController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: diff --git a/.theos/obj/debug/arm64/burRootListController.m.e1c44485.o b/.theos/obj/debug/arm64/burRootListController.m.e1c44485.o deleted file mode 100644 index 7822bfd..0000000 Binary files a/.theos/obj/debug/arm64/burRootListController.m.e1c44485.o and /dev/null differ diff --git a/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs b/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs index e03c06a..8c9a38f 100755 Binary files a/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs and b/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs differ diff --git a/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs b/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs index 00714a8..eb209f6 100644 Binary files a/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs and b/.theos/obj/debug/arm64/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs differ diff --git a/.theos/obj/debug/arm64/testing.dylib b/.theos/obj/debug/arm64/testing.dylib index 0eab451..32a984e 100755 Binary files a/.theos/obj/debug/arm64/testing.dylib and b/.theos/obj/debug/arm64/testing.dylib differ diff --git a/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib index 195d1ce..a5e2308 100644 Binary files a/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and b/.theos/obj/debug/arm64/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib differ diff --git a/.theos/obj/arm64e/Tweak.x.a82baa7e.Td b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td similarity index 82% rename from .theos/obj/arm64e/Tweak.x.a82baa7e.Td rename to .theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td index 761d422..5311683 100644 --- a/.theos/obj/arm64e/Tweak.x.a82baa7e.Td +++ b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.Td @@ -1,13 +1,14 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/Tweak.x.a82baa7e.o: \ - /Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/Tweak.x.m \ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o: \ + /Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.m \ /Users/carsonzielinski/Documents/theos/Prefix.pch \ /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ /Users/carsonzielinski/Documents/theos/include/HBLog.h \ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ /Users/carsonzielinski/Documents/theos/include/substrate.h @@ -21,12 +22,14 @@ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: -/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: /Users/carsonzielinski/Documents/theos/include/substrate.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o new file mode 100644 index 0000000..cecbdda Binary files /dev/null and b/.theos/obj/debug/arm64e/Tweak.x.1ad82ea2.o differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.Td b/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.Td index db7a460..deef0bb 100644 --- a/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.Td +++ b/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.Td @@ -5,9 +5,10 @@ /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ /Users/carsonzielinski/Documents/theos/include/HBLog.h \ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ /Users/carsonzielinski/Documents/theos/include/substrate.h @@ -21,12 +22,14 @@ /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: -/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: - /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: /Users/carsonzielinski/Documents/theos/include/substrate.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o b/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o index e9621fb..dd23728 100644 Binary files a/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o and b/.theos/obj/debug/arm64e/Tweak.x.6e9da55c.o differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.Td b/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.Td new file mode 100644 index 0000000..94f4f65 --- /dev/null +++ b/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.Td @@ -0,0 +1,29 @@ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o: \ + /Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/Tweak.x.m \ + /Users/carsonzielinski/Documents/theos/Prefix.pch \ + /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ + /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ + /Users/carsonzielinski/Documents/theos/include/HBLog.h \ + /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ + /Users/carsonzielinski/Documents/theos/include/substrate.h + +/Users/carsonzielinski/Documents/theos/Prefix.pch: + +/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: + +/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: + +/Users/carsonzielinski/Documents/theos/include/HBLog.h: + +/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: + +/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: + +/Users/carsonzielinski/Documents/theos/include/substrate.h: diff --git a/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o b/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o new file mode 100644 index 0000000..72c8b77 Binary files /dev/null and b/.theos/obj/debug/arm64e/Tweak.x.f8e2c40f.o differ diff --git a/.theos/obj/debug/arm64e/Tweak.x.m b/.theos/obj/debug/arm64e/Tweak.x.m index 44e6a81..36a1d6d 100644 --- a/.theos/obj/debug/arm64e/Tweak.x.m +++ b/.theos/obj/debug/arm64e/Tweak.x.m @@ -1,9 +1,13 @@ #line 1 "Tweak.x" -#import + + + #import +#import +#import +#import #import -#include static BOOL transparent; @@ -36,10 +40,10 @@ HBPreferences *preferences; #define _LOGOS_RETURN_RETAINED #endif -@class SBDockIconListView; @class SBDockView; -static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); +@class SBDockView; @class SBDockIconListView; +static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double); static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL); static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); -#line 17 "Tweak.x" +#line 21 "Tweak.x" @@ -53,10 +57,15 @@ static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_ } } + static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight); } +static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return (_logos_meta_orig$_ungrouped$SBDockView$defaultHeight(self, _cmd)*setHeight); + } + @@ -71,7 +80,7 @@ static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGO -static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused argc, char __unused **argv, char __unused **envp) { +static __attribute__((constructor)) void _logosLocalCtor_7d006fd9(int __unused argc, char __unused **argv, char __unused **envp) { preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; [preferences registerDefaults:@{ @"setHeight": @1, @@ -86,5 +95,5 @@ static __attribute__((constructor)) void _logosLocalCtor_44056092(int __unused a [preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; } static __attribute__((constructor)) void _logosLocalInit() { -{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);} } -#line 62 "Tweak.x" +{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP*)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);MSHookMessageEx(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP*)&_logos_orig$_ungrouped$SBDockView$dockHeight);MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP*)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); MSHookMessageEx(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP*)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);} } +#line 71 "Tweak.x" diff --git a/.theos/obj/arm64/burRootListController.m.49278f3c.Td b/.theos/obj/debug/arm64e/burRootListController.m.1022476f.Td similarity index 97% rename from .theos/obj/arm64/burRootListController.m.49278f3c.Td rename to .theos/obj/debug/arm64e/burRootListController.m.1022476f.Td index 2d77566..d503b6e 100644 --- a/.theos/obj/arm64/burRootListController.m.49278f3c.Td +++ b/.theos/obj/debug/arm64e/burRootListController.m.1022476f.Td @@ -1,4 +1,4 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/arm64/burRootListController.m.49278f3c.o: \ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/burRootListController.m.1022476f.o: \ burRootListController.m \ /Users/carsonzielinski/Documents/theos/Prefix.pch \ /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ diff --git a/.theos/obj/debug/arm64e/burRootListController.m.1022476f.o b/.theos/obj/debug/arm64e/burRootListController.m.1022476f.o new file mode 100644 index 0000000..26cee98 Binary files /dev/null and b/.theos/obj/debug/arm64e/burRootListController.m.1022476f.o differ diff --git a/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.Td b/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.Td deleted file mode 100644 index b479df3..0000000 --- a/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.Td +++ /dev/null @@ -1,56 +0,0 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o: \ - burRootListController.m \ - /Users/carsonzielinski/Documents/theos/Prefix.pch \ - /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ - /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ - /Users/carsonzielinski/Documents/theos/include/HBLog.h \ - /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - burRootListController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h - -/Users/carsonzielinski/Documents/theos/Prefix.pch: - -/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: - -/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: - -/Users/carsonzielinski/Documents/theos/include/HBLog.h: - -/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: - -burRootListController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: diff --git a/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o b/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o deleted file mode 100644 index 0158f36..0000000 Binary files a/.theos/obj/debug/arm64e/burRootListController.m.bbcb89c4.o and /dev/null differ diff --git a/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs b/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs index b9db0b3..2b84cef 100755 Binary files a/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs and b/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs differ diff --git a/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs b/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs index 6d57f4c..a38d6a5 100644 Binary files a/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs and b/.theos/obj/debug/arm64e/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs differ diff --git a/.theos/obj/debug/arm64e/testing.dylib b/.theos/obj/debug/arm64e/testing.dylib index ccf3ab5..159eea4 100755 Binary files a/.theos/obj/debug/arm64e/testing.dylib and b/.theos/obj/debug/arm64e/testing.dylib differ diff --git a/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib index c30dd13..a25641f 100644 Binary files a/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib and b/.theos/obj/debug/arm64e/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib differ diff --git a/.theos/obj/arm64e/burRootListController.m.7e65d79b.Td b/.theos/obj/debug/armv7/burRootListController.m.40484a5d.Td similarity index 97% rename from .theos/obj/arm64e/burRootListController.m.7e65d79b.Td rename to .theos/obj/debug/armv7/burRootListController.m.40484a5d.Td index f09fd1d..aaae925 100644 --- a/.theos/obj/arm64e/burRootListController.m.7e65d79b.Td +++ b/.theos/obj/debug/armv7/burRootListController.m.40484a5d.Td @@ -1,4 +1,4 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/arm64e/burRootListController.m.7e65d79b.o: \ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7/burRootListController.m.40484a5d.o: \ burRootListController.m \ /Users/carsonzielinski/Documents/theos/Prefix.pch \ /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ diff --git a/.theos/obj/debug/armv7/burRootListController.m.40484a5d.o b/.theos/obj/debug/armv7/burRootListController.m.40484a5d.o new file mode 100644 index 0000000..de9f3e6 Binary files /dev/null and b/.theos/obj/debug/armv7/burRootListController.m.40484a5d.o differ diff --git a/.theos/obj/debug/armv7/burRootListController.m.74bc452e.Td b/.theos/obj/debug/armv7/burRootListController.m.74bc452e.Td deleted file mode 100644 index 3eecbdc..0000000 --- a/.theos/obj/debug/armv7/burRootListController.m.74bc452e.Td +++ /dev/null @@ -1,56 +0,0 @@ -/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7/burRootListController.m.74bc452e.o: \ - burRootListController.m \ - /Users/carsonzielinski/Documents/theos/Prefix.pch \ - /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ - /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ - /Users/carsonzielinski/Documents/theos/include/HBLog.h \ - /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ - burRootListController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h \ - /Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h \ - /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h - -/Users/carsonzielinski/Documents/theos/Prefix.pch: - -/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: - -/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: - -/Users/carsonzielinski/Documents/theos/include/HBLog.h: - -/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: - -burRootListController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSListController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSViewController.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSTableCell.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSSpecifier.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBRootListController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBListController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/PSListController+HBTintAdditions.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBAppearanceSettings.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/CepheiPrefs.framework/Headers/HBPackageNameHeaderCell.h: - -/Users/carsonzielinski/Documents/theos/include/Preferences/PSHeaderFooterView.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBRespringController.h: - -/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: diff --git a/.theos/obj/debug/armv7/burRootListController.m.74bc452e.o b/.theos/obj/debug/armv7/burRootListController.m.74bc452e.o deleted file mode 100644 index eb252e9..0000000 Binary files a/.theos/obj/debug/armv7/burRootListController.m.74bc452e.o and /dev/null differ diff --git a/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs b/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs index 41dca5d..4b4e02b 100755 Binary files a/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs and b/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs differ diff --git a/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs b/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs index 89a234f..075b177 100644 Binary files a/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs and b/.theos/obj/debug/armv7/dockifyprefs.bundle/dockifyprefs.dSYM/Contents/Resources/DWARF/dockifyprefs differ diff --git a/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td new file mode 100644 index 0000000..62665a7 --- /dev/null +++ b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.Td @@ -0,0 +1,35 @@ +/Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o: \ + /Users/carsonzielinski/Documents/testing/.theos/obj/debug/armv7s/Tweak.x.m \ + /Users/carsonzielinski/Documents/theos/Prefix.pch \ + /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ + /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ + /Users/carsonzielinski/Documents/theos/include/HBLog.h \ + /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h \ + /Users/carsonzielinski/Documents/theos/include/substrate.h + +/Users/carsonzielinski/Documents/theos/Prefix.pch: + +/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: + +/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: + +/Users/carsonzielinski/Documents/theos/include/HBLog.h: + +/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: + +/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: + +/Users/carsonzielinski/Documents/theos/include/substrate.h: diff --git a/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o new file mode 100644 index 0000000..5357b47 Binary files /dev/null and b/.theos/obj/debug/armv7s/Tweak.x.8f98122a.o differ diff --git a/.theos/obj/arm64e/testing.dylib b/.theos/obj/debug/armv7s/testing.dylib similarity index 85% rename from .theos/obj/arm64e/testing.dylib rename to .theos/obj/debug/armv7s/testing.dylib index c7bd309..820fae4 100755 Binary files a/.theos/obj/arm64e/testing.dylib and b/.theos/obj/debug/armv7s/testing.dylib differ diff --git a/.theos/obj/arm64/testing.dylib.dSYM/Contents/Info.plist b/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Info.plist similarity index 100% rename from .theos/obj/arm64/testing.dylib.dSYM/Contents/Info.plist rename to .theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Info.plist diff --git a/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib b/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib new file mode 100644 index 0000000..b2bc682 Binary files /dev/null and b/.theos/obj/debug/armv7s/testing.dylib.dSYM/Contents/Resources/DWARF/testing.dylib differ diff --git a/.theos/obj/debug/dockifyprefs.bundle/Root.plist b/.theos/obj/debug/dockifyprefs.bundle/Root.plist index f18f128..89e5b60 100644 --- a/.theos/obj/debug/dockifyprefs.bundle/Root.plist +++ b/.theos/obj/debug/dockifyprefs.bundle/Root.plist @@ -98,7 +98,7 @@ cell PSGroupCell label - Max Dock Icons (each row): + Max Dock Icons: cell diff --git a/.theos/obj/debug/dockifyprefs.bundle/dockifyprefs b/.theos/obj/debug/dockifyprefs.bundle/dockifyprefs index 0e22f22..3c0193b 100755 Binary files a/.theos/obj/debug/dockifyprefs.bundle/dockifyprefs and b/.theos/obj/debug/dockifyprefs.bundle/dockifyprefs differ diff --git a/.theos/obj/debug/testing.dylib b/.theos/obj/debug/testing.dylib index f749506..b6ead6c 100755 Binary files a/.theos/obj/debug/testing.dylib and b/.theos/obj/debug/testing.dylib differ diff --git a/.theos/obj/dockifyprefs.bundle/Info.plist b/.theos/obj/dockifyprefs.bundle/Info.plist deleted file mode 100644 index a788427..0000000 --- a/.theos/obj/dockifyprefs.bundle/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - dockifyprefs - CFBundleIdentifier - com.burritoz.dockifyprefs - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSPrincipalClass - burRootListController - - diff --git a/.theos/obj/dockifyprefs.bundle/Root.plist b/.theos/obj/dockifyprefs.bundle/Root.plist deleted file mode 100644 index 89e5b60..0000000 --- a/.theos/obj/dockifyprefs.bundle/Root.plist +++ /dev/null @@ -1,147 +0,0 @@ - - - - - items - - - cell - PSGroupCell - condensed - - headerCellClass - HBPackageNameHeaderCell - icon - icon.png - packageIdentifier - com.burritoz.testing - - - cell - PSGroupCell - label - Overall Dock Settings: - - - cell - PSSwitchCell - default - - defaults - com.burritoz.dockifyprefs - key - transparent - label - Transparent Dock - - - cell - PSSwitchCell - default - - defaults - com.burritoz.dockifyprefs - key - hidden - label - Hide - - - cell - PSGroupCell - label - Dock Height Multiplier (1 default): - - - cell - PSSliderCell - default - 1 - defaults - com.burritoz.dockifyprefs - key - setHeight - min - 0 - max - 10 - isSegmented - - showValue - - - - cell - PSGroupCell - label - Custom Opacity Multiplier (0-1): - - - cell - PSSliderCell - default - 1 - defaults - com.burritoz.dockifyprefs - key - customOpacity - min - 0 - max - 1 - isSegmented - - showValue - - - - cell - PSGroupCell - label - Max Dock Icons: - - - cell - PSSliderCell - default - 4 - defaults - com.burritoz.dockifyprefs - key - setIconNumber - min - 0 - max - 20 - isSegmented - - segmentCount - 20 - showValue - - - - cell - PSGroupCell - label - - - - cell - PSButtonCell - label - Apply/ReSpring - action - respring: - - - cell - PSGroupCell - footerText - "Try not. Do... or do not. There is no try." - - - title - Dockify - - diff --git a/.theos/obj/dockifyprefs.bundle/dockifyprefs b/.theos/obj/dockifyprefs.bundle/dockifyprefs deleted file mode 100755 index df0e76c..0000000 Binary files a/.theos/obj/dockifyprefs.bundle/dockifyprefs and /dev/null differ diff --git a/.theos/obj/dockifyprefs.bundle/icon.png b/.theos/obj/dockifyprefs.bundle/icon.png deleted file mode 100644 index fec35fa..0000000 Binary files a/.theos/obj/dockifyprefs.bundle/icon.png and /dev/null differ diff --git a/.theos/obj/.stamp b/.theos/obj/iphone_simulator/debug/.stamp similarity index 100% rename from .theos/obj/.stamp rename to .theos/obj/iphone_simulator/debug/.stamp diff --git a/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.Td b/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.Td new file mode 100644 index 0000000..d726136 --- /dev/null +++ b/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.Td @@ -0,0 +1,32 @@ +/Users/carsonzielinski/Documents/testing/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o: \ + /Users/carsonzielinski/Documents/testing/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.m \ + /Users/carsonzielinski/Documents/theos/Prefix.pch \ + /Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h \ + /Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h \ + /Users/carsonzielinski/Documents/theos/include/HBLog.h \ + /Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h \ + /Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h \ + /Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h + +/Users/carsonzielinski/Documents/theos/Prefix.pch: + +/Users/carsonzielinski/Documents/theos/include/_Prefix/BackwardsCompat.h: + +/Users/carsonzielinski/Documents/theos/include/_Prefix/IOSMacros.h: + +/Users/carsonzielinski/Documents/theos/include/HBLog.h: + +/Users/carsonzielinski/Documents/theos/include/CoreFoundation/CFLogUtilities.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockIconListView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBIconListView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SBDockView.h: + +/Users/carsonzielinski/Documents/theos/include/SpringBoard/SpringBoard.h: + +/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h: diff --git a/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o b/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o new file mode 100644 index 0000000..633e320 Binary files /dev/null and b/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.fba03dd6.o differ diff --git a/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.m b/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.m new file mode 100644 index 0000000..f7e37c5 --- /dev/null +++ b/.theos/obj/iphone_simulator/debug/x86_64/Tweak.x.m @@ -0,0 +1,121 @@ +#line 1 "Tweak.x" + + + + +#import +#import +#import +#import +#import + + +static BOOL transparent; +static BOOL hidden; +static double setHeight; +static double customOpacity; +static NSInteger setIconNumber; + +HBPreferences *preferences; + + + +#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 + +__attribute__((unused)) static void _logos_register_hook$(Class _class, SEL _cmd, IMP _new, IMP *_old) { +unsigned int _count, _i; +Class _searchedClass = _class; +Method *_methods; +while (_searchedClass) { +_methods = class_copyMethodList(_searchedClass, &_count); +for (_i = 0; _i < _count; _i++) { +if (method_getName(_methods[_i]) == _cmd) { +if (_class == _searchedClass) { +*_old = method_getImplementation(_methods[_i]); +*_old = method_setImplementation(_methods[_i], _new); +} else { +class_addMethod(_class, _cmd, _new, method_getTypeEncoding(_methods[_i])); +} +free(_methods); +return; +} +} +free(_methods); +_searchedClass = class_getSuperclass(_searchedClass); +} +} +@class SBDockIconListView; @class SBDockView; +static Class _logos_superclass$_ungrouped$SBDockView; static Class _logos_supermetaclass$_ungrouped$SBDockView; static void (*_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL, double);static double (*_logos_orig$_ungrouped$SBDockView$dockHeight)(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST, SEL);static double (*_logos_meta_orig$_ungrouped$SBDockView$defaultHeight)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL);static Class _logos_supermetaclass$_ungrouped$SBDockIconListView; static NSInteger (*_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons)(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST, SEL); + +#line 21 "Tweak.x" + + + +static void _logos_method$_ungrouped$SBDockView$setBackgroundAlpha$(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, double arg1) { + if (transparent == NO && hidden == NO) { + (_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ ? _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ : (__typeof__(_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$))class_getMethodImplementation(_logos_superclass$_ungrouped$SBDockView, @selector(setBackgroundAlpha:)))(self, _cmd, customOpacity); + }else if (transparent || hidden) { + (_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ ? _logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$ : (__typeof__(_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$))class_getMethodImplementation(_logos_superclass$_ungrouped$SBDockView, @selector(setBackgroundAlpha:)))(self, _cmd, 0.0); + } else { + NSLog(@"Dock not Transparent/hidden, no custom opacity\n"); + } +} + + +static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return ((_logos_orig$_ungrouped$SBDockView$dockHeight ? _logos_orig$_ungrouped$SBDockView$dockHeight : (__typeof__(_logos_orig$_ungrouped$SBDockView$dockHeight))class_getMethodImplementation(_logos_superclass$_ungrouped$SBDockView, @selector(dockHeight)))(self, _cmd)*setHeight); + } + +static double _logos_meta_method$_ungrouped$SBDockView$defaultHeight(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + return ((_logos_meta_orig$_ungrouped$SBDockView$defaultHeight ? _logos_meta_orig$_ungrouped$SBDockView$defaultHeight : (__typeof__(_logos_meta_orig$_ungrouped$SBDockView$defaultHeight))class_getMethodImplementation(_logos_supermetaclass$_ungrouped$SBDockView, @selector(defaultHeight)))(self, _cmd)*setHeight); + } + + + + + +static NSInteger _logos_meta_method$_ungrouped$SBDockIconListView$maxIcons(_LOGOS_SELF_TYPE_NORMAL Class _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) { + if (hidden) { + return (0); + } else { + return (setIconNumber); + } +} + + + +static __attribute__((constructor)) void _logosLocalCtor_7d006fd9(int __unused argc, char __unused **argv, char __unused **envp) { + preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"]; + [preferences registerDefaults:@{ + @"setHeight": @1, + @"customOpacity": @1, + @"hidden": @NO, + @"setIconNumber": @4, + }]; + [preferences registerBool:&transparent default:YES forKey:@"transparent"]; + [preferences registerBool:&hidden default:NO forKey:@"hidden"]; + [preferences registerDouble:(double *)&setHeight default:1 forKey:@"setHeight"]; + [preferences registerDouble:(double *)&customOpacity default:1 forKey:@"customOpacity"]; + [preferences registerInteger:(NSInteger *)&setIconNumber default:4 forKey:@"setIconNumber"]; +} +static __attribute__((constructor)) void _logosLocalInit() { +{Class _logos_class$_ungrouped$SBDockView = objc_getClass("SBDockView"); Class _logos_metaclass$_ungrouped$SBDockView = object_getClass(_logos_class$_ungrouped$SBDockView); _logos_superclass$_ungrouped$SBDockView = class_getSuperclass(_logos_class$_ungrouped$SBDockView); _logos_supermetaclass$_ungrouped$SBDockView = class_getSuperclass(_logos_metaclass$_ungrouped$SBDockView); { _logos_register_hook$(_logos_class$_ungrouped$SBDockView, @selector(setBackgroundAlpha:), (IMP)&_logos_method$_ungrouped$SBDockView$setBackgroundAlpha$, (IMP *)&_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$);}{ _logos_register_hook$(_logos_class$_ungrouped$SBDockView, @selector(dockHeight), (IMP)&_logos_method$_ungrouped$SBDockView$dockHeight, (IMP *)&_logos_orig$_ungrouped$SBDockView$dockHeight);}{ _logos_register_hook$(_logos_metaclass$_ungrouped$SBDockView, @selector(defaultHeight), (IMP)&_logos_meta_method$_ungrouped$SBDockView$defaultHeight, (IMP *)&_logos_meta_orig$_ungrouped$SBDockView$defaultHeight);}Class _logos_class$_ungrouped$SBDockIconListView = objc_getClass("SBDockIconListView"); Class _logos_metaclass$_ungrouped$SBDockIconListView = object_getClass(_logos_class$_ungrouped$SBDockIconListView); _logos_supermetaclass$_ungrouped$SBDockIconListView = class_getSuperclass(_logos_metaclass$_ungrouped$SBDockIconListView); { _logos_register_hook$(_logos_metaclass$_ungrouped$SBDockIconListView, @selector(maxIcons), (IMP)&_logos_meta_method$_ungrouped$SBDockIconListView$maxIcons, (IMP *)&_logos_meta_orig$_ungrouped$SBDockIconListView$maxIcons);}} } +#line 71 "Tweak.x" diff --git a/.theos/obj/testing.dylib b/.theos/obj/testing.dylib deleted file mode 100755 index dbffc32..0000000 Binary files a/.theos/obj/testing.dylib and /dev/null differ diff --git a/.theos/packages/com.burritoz.testing-1.0.0b b/.theos/packages/com.burritoz.testing-1.0.0b deleted file mode 100644 index f11c82a..0000000 --- a/.theos/packages/com.burritoz.testing-1.0.0b +++ /dev/null @@ -1 +0,0 @@ -9 \ No newline at end of file diff --git a/.theos/packages/com.burritoz.testing-1.1 b/.theos/packages/com.burritoz.testing-1.1 deleted file mode 100644 index ca7bf83..0000000 --- a/.theos/packages/com.burritoz.testing-1.1 +++ /dev/null @@ -1 +0,0 @@ -13 \ No newline at end of file diff --git a/.theos/packages/com.burritoz.testing-0.0.41b b/.theos/packages/com.burritoz.testing-1.2 similarity index 100% rename from .theos/packages/com.burritoz.testing-0.0.41b rename to .theos/packages/com.burritoz.testing-1.2 diff --git a/Makefile b/Makefile index 28025b2..08b3d9a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ -ARCHS = arm64 arm64e -INSTALL_TARGET_PROCESSES = SpringBoard +INSTALL_TARGET_PROCESSES = SpringBoard SpringBoardHome +# TARGET = simulator:clang::7.0 +# ARCHS = x86_64 i386 +ARCHS = armv7s arm64 arm64e -include /Users/carsonzielinski/Documents/theos/makefiles/common.mk +include $(THEOS)/makefiles/common.mk TWEAK_NAME = testing @@ -9,6 +11,6 @@ testing_FILES = Tweak.x testing_CFLAGS = -fobjc-arc testing_EXTRA_FRAMEWORKS += Cephei -include /Users/carsonzielinski/Documents/theos/makefiles/tweak.mk +include $(THEOS_MAKE_PATH)/tweak.mk SUBPROJECTS += dockifyprefs include $(THEOS_MAKE_PATH)/aggregate.mk diff --git a/Tweak.x b/Tweak.x index 27af8d9..959b31e 100644 --- a/Tweak.x +++ b/Tweak.x @@ -1,8 +1,21 @@ //import needed files/headers -#import +/*#import +#import +#import */ #import +#import +#import +#import #import -#include + +@interface SBDockView +@end + +@interface SBDockIconListView +@end + +@interface SBIconListView +@end //Set up variables for use with Cephei static BOOL transparent; @@ -27,12 +40,17 @@ HBPreferences *preferences; } } +//ios 12 -(double)dockHeight { return (%orig*setHeight); //sets custom height if dock is not set to hidden } - +//ios 13 ++(double)defaultHeight { + return (%orig*setHeight); //sets custom height if dock is not set to hidden + } %end + %hook SBDockIconListView +(NSInteger)maxIcons { diff --git a/dockifyprefs/Makefile b/dockifyprefs/Makefile index b8cf995..058c074 100644 --- a/dockifyprefs/Makefile +++ b/dockifyprefs/Makefile @@ -1,4 +1,4 @@ -include /Users/carsonzielinski/Documents/theos/makefiles/common.mk +include $(THEOS)/makefiles/common.mk BUNDLE_NAME = dockifyprefs @@ -9,7 +9,7 @@ dockifyprefs_PRIVATE_FRAMEWORKS = Preferences dockifyprefs_CFLAGS = -fobjc-arc dockifyprefs_EXTRA_FRAMEWORKS +=CepheiPrefs Cephei -include /Users/carsonzielinski/Documents/theos/makefiles/bundle.mk +include $(THEOS_MAKE_PATH)/bundle.mk internal-stage:: $(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END)