1
1
mirror of https://github.com/Burrit0z/Dockify_Source.git synced 2025-07-04 04:06:47 +00:00
Dockify source
This commit is contained in:
Burrit0z
2019-12-23 20:37:14 -05:00
commit bae7bbb83f
61 changed files with 1023 additions and 0 deletions

View File

@ -0,0 +1,26 @@
/Users/carsonzielinski/Documents/testing/.theos/obj/debug/arm64/Tweak.x.b761c000.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/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/SpringBoard.h:
/Users/carsonzielinski/Documents/theos/vendor/lib/Cephei.framework/Headers/HBPreferences.h:
/Users/carsonzielinski/Documents/theos/include/substrate.h:

Binary file not shown.

View File

@ -0,0 +1,72 @@
#line 1 "Tweak.x"
#import <SpringBoard/SpringBoard.h>
#import <Cephei/HBPreferences.h>
static BOOL transparent;
static BOOL hidden;
static double setHeight;
static double customOpacity;
HBPreferences *preferences;
#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 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);
#line 11 "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) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, customOpacity);
}else if (transparent) {
_logos_orig$_ungrouped$SBDockView$setBackgroundAlpha$(self, _cmd, 0.0);
} else {
NSLog(@"Dock not Transparent, no custom opacity\n");
}
}
static double _logos_method$_ungrouped$SBDockView$dockHeight(_LOGOS_SELF_TYPE_NORMAL SBDockView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd) {
if (hidden) {
return (-500);
} else {
return (_logos_orig$_ungrouped$SBDockView$dockHeight(self, _cmd)*setHeight);
}
}
static __attribute__((constructor)) void _logosLocalCtor_eb769390(int __unused argc, char __unused **argv, char __unused **envp) {
preferences = [[HBPreferences alloc] initWithIdentifier:@"com.burritoz.dockifyprefs"];
[preferences registerDefaults:@{
@"setHeight": @1,
@"customOpacity": @1,
@"hidden": @NO
}];
[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"];
}
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);} }
#line 44 "Tweak.x"

View File

@ -0,0 +1,56 @@
/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:

Binary file not shown.

View File

@ -0,0 +1,20 @@
<?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.dockifyprefs</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.

View File

@ -0,0 +1,20 @@
<?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.testing.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>