mirror of
https://github.com/Burrit0z/kai
synced 2025-09-13 13:56:18 +00:00
update
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
Package: com.burritoz.kai
|
||||
Name: Kai
|
||||
Version: 0.0.1
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome MobileSubstrate tweak!
|
||||
Maintainer: burrit0z
|
||||
Author: burrit0z
|
||||
Section: Tweaks
|
||||
Depends: mobilesubstrate (>= 0.9.5000)
|
||||
Installed-Size: 2056
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
|
@ -1,12 +1,12 @@
|
||||
# ninja log v5
|
||||
0 489 1588095990336505228 .dragon/build/logos/Kai.xm.mm 2ff43d99226043a7
|
||||
490 3100 1588095992929677755 .dragon/build/arm64e/Kai.xm.mm.o 4598f389cc63d95c
|
||||
490 3103 1588095992933837787 .dragon/build/arm64/Kai.xm.mm.o 3d92451607ba4d79
|
||||
489 3122 1588095992949324464 .dragon/build/armv7/Kai.xm.mm.o 4fe1c0d4e01f824e
|
||||
3103 3581 1588095993423290676 .dragon/build/kai.arm64 4a5a6d812e458df
|
||||
3100 3584 1588095993427260606 .dragon/build/kai.arm64e 3f60e77356505eb3
|
||||
3122 3592 1588095993435835646 .dragon/build/kai.armv7 28dc0376c3d0fbcc
|
||||
3592 3623 1588095993471341918 .dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib.unsym 9605f646a2b06131
|
||||
3623 3818 1588095993666211343 .dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib.unsigned 30304c6c682e6c6d
|
||||
3818 3850 1588095993696183759 .dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib d998911fb5a4bb3c
|
||||
3850 3867 0 .dragon/build/trash/stage 4e5b61207c82583b
|
||||
0 288 1588096266492672082 .dragon/build/logos/Kai.xm.mm 2ff43d99226043a7
|
||||
289 2910 1588096269099648957 .dragon/build/arm64e/Kai.xm.mm.o 4598f389cc63d95c
|
||||
288 2912 1588096269101751640 .dragon/build/arm64/Kai.xm.mm.o 3d92451607ba4d79
|
||||
288 2950 1588096269145145294 .dragon/build/armv7/Kai.xm.mm.o 4fe1c0d4e01f824e
|
||||
2912 3455 1588096269657213627 .dragon/build/kai.arm64 4a5a6d812e458df
|
||||
2910 3456 1588096269657154742 .dragon/build/kai.arm64e 3f60e77356505eb3
|
||||
2950 3468 1588096269671732081 .dragon/build/kai.armv7 28dc0376c3d0fbcc
|
||||
3468 3502 1588096269708948511 .dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib.unsym 9605f646a2b06131
|
||||
3502 3655 1588096269860925794 .dragon/sign/.dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib.unsigned 30304c6c682e6c6d
|
||||
3655 3709 1588096269915504618 .dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib d998911fb5a4bb3c
|
||||
3709 3737 0 .dragon/build/trash/stage 4e5b61207c82583b
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -66,7 +66,7 @@ CGRect original;
|
||||
#define _LOGOS_RETURN_RETAINED
|
||||
#endif
|
||||
|
||||
@class CSMainPageView; @class SBCoverSheetPrimarySlidingViewController;
|
||||
@class SBCoverSheetPrimarySlidingViewController; @class CSMainPageView;
|
||||
static void (*_logos_orig$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$)(_LOGOS_SELF_TYPE_NORMAL SBCoverSheetPrimarySlidingViewController* _LOGOS_SELF_CONST, SEL, BOOL); static void _logos_method$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$(_LOGOS_SELF_TYPE_NORMAL SBCoverSheetPrimarySlidingViewController* _LOGOS_SELF_CONST, SEL, BOOL); static void (*_logos_orig$_ungrouped$CSMainPageView$updateForPresentation$)(_LOGOS_SELF_TYPE_NORMAL CSMainPageView* _LOGOS_SELF_CONST, SEL, id); static void _logos_method$_ungrouped$CSMainPageView$updateForPresentation$(_LOGOS_SELF_TYPE_NORMAL CSMainPageView* _LOGOS_SELF_CONST, SEL, id);
|
||||
|
||||
#line 47 "Kai.xm"
|
||||
@ -93,11 +93,12 @@ static void _logos_method$_ungrouped$CSMainPageView$updateForPresentation$(_LOGO
|
||||
[self addSubview:self.battery];
|
||||
setFrame = YES;
|
||||
batteryWidget = self.battery;
|
||||
[batteryWidget updateBattery];
|
||||
}
|
||||
|
||||
object.frame = CGRectMake(
|
||||
object.bounds = CGRectMake(
|
||||
original.origin.x,
|
||||
original.origin.y - (self.battery.number * 90),
|
||||
original.origin.y + (self.battery.number * 90),
|
||||
original.size.width,
|
||||
original.size.height + (self.battery.number * 90)
|
||||
);
|
||||
@ -176,4 +177,4 @@ static void _logos_method$_ungrouped$CSMainPageView$updateForPresentation$(_LOGO
|
||||
|
||||
static __attribute__((constructor)) void _logosLocalInit() {
|
||||
{Class _logos_class$_ungrouped$SBCoverSheetPrimarySlidingViewController = objc_getClass("SBCoverSheetPrimarySlidingViewController"); MSHookMessageEx(_logos_class$_ungrouped$SBCoverSheetPrimarySlidingViewController, @selector(viewWillAppear:), (IMP)&_logos_method$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$, (IMP*)&_logos_orig$_ungrouped$SBCoverSheetPrimarySlidingViewController$viewWillAppear$);Class _logos_class$_ungrouped$CSMainPageView = objc_getClass("CSMainPageView"); MSHookMessageEx(_logos_class$_ungrouped$CSMainPageView, @selector(updateForPresentation:), (IMP)&_logos_method$_ungrouped$CSMainPageView$updateForPresentation$, (IMP*)&_logos_orig$_ungrouped$CSMainPageView$updateForPresentation$);{ char _typeEncoding[1024]; sprintf(_typeEncoding, "%s@:", @encode(KAIBattery *)); class_addMethod(_logos_class$_ungrouped$CSMainPageView, @selector(battery), (IMP)&_logos_method$_ungrouped$CSMainPageView$battery, _typeEncoding); sprintf(_typeEncoding, "v@:%s", @encode(KAIBattery *)); class_addMethod(_logos_class$_ungrouped$CSMainPageView, @selector(setBattery:), (IMP)&_logos_method$_ungrouped$CSMainPageView$setBattery, _typeEncoding); } } }
|
||||
#line 151 "Kai.xm"
|
||||
#line 152 "Kai.xm"
|
||||
|
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.kai.dylib.unsym</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.
3
Kai.xm
3
Kai.xm
@ -67,9 +67,10 @@ CGRect original;
|
||||
[self addSubview:self.battery];
|
||||
setFrame = YES;
|
||||
batteryWidget = self.battery;
|
||||
[batteryWidget updateBattery];
|
||||
}
|
||||
|
||||
object.frame = CGRectMake(
|
||||
object.bounds = CGRectMake(
|
||||
original.origin.x,
|
||||
original.origin.y + (self.battery.number * 90),
|
||||
original.size.width,
|
||||
|
Reference in New Issue
Block a user