Browse Source

:fr:

pull/1/head
Burrit0z 4 years ago
parent
commit
3e55f1d133
2 changed files with 8 additions and 3 deletions
  1. +3
    -3
      KAIBatteryStack.mm
  2. +5
    -0
      kai.sh

+ 3
- 3
KAIBatteryStack.mm View File

@@ -114,9 +114,9 @@ long long lastPercentage;

} else {
int height = (self.number * (bannerHeight + spacing));
if([self.superview.subviews count]>1) {
height = (self.number * (bannerHeight + spacing)) - spacing;
}
//if([self.superview.subviews count]>1) {
// height = (self.number * (bannerHeight + spacing)) - spacing;
//}
self.heightConstraint.constant = height;

UIStackView *s = (UIStackView *)(self.superview);

+ 5
- 0
kai.sh View File

@@ -0,0 +1,5 @@
rm -f /opt/simject/kai.dylib
cp -v .dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.dylib /opt/simject/kai.dylib
codesign -f -s - /opt/simject/kai.dylib
cp -v .dragon/_/Library/MobileSubstrate/DynamicLibraries/kai.plist /opt/simject
/Users/carsonzielinski/simject/bin/resim

Loading…
Cancel
Save