mirror of
https://github.com/NohamR/Tweaks.git
synced 2026-07-11 22:41:44 +00:00
Compare commits
2 Commits
OqeePlus-t
...
Infuse-tvO
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dee3024d26 | ||
|
|
e41d8f7279 |
@@ -3,5 +3,8 @@
|
|||||||
Bundles = (
|
Bundles = (
|
||||||
"com.firecore.infuse",
|
"com.firecore.infuse",
|
||||||
);
|
);
|
||||||
|
Executables = (
|
||||||
|
"infuse",
|
||||||
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
TARGET = appletv:latest:18.3
|
TARGET = appletv:latest:18.3
|
||||||
ARCHS = arm64
|
ARCHS = arm64 arm64e
|
||||||
INSTALL_TARGET_PROCESSES = infuse
|
INSTALL_TARGET_PROCESSES = infuse
|
||||||
THEOS_PACKAGE_SCHEME = rootless
|
THEOS_PACKAGE_SCHEME = rootless
|
||||||
|
|
||||||
|
|||||||
@@ -56,17 +56,33 @@
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
// Add credits
|
// Add credits
|
||||||
@interface FCVersionView : UIView
|
@interface FCTVSettingsController : UITableViewController
|
||||||
@property (nonatomic, strong) UILabel *label;
|
- (UITableView *)tableView;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
%hook FCVersionView
|
%hook FCTVSettingsController
|
||||||
- (void)awakeFromNib {
|
- (void)setUpAppVersionLabel {
|
||||||
%orig;
|
%orig;
|
||||||
UILabel *label = (UILabel *)[self valueForKey:@"label"];
|
|
||||||
if ([label.text containsString:@"Infuse Pro"] && ![label.text hasPrefix:@"Infuse Team •"]) {
|
UITableView *tv = [self tableView];
|
||||||
label.text = [NSString stringWithFormat:@"Infuse Team • %@", label.text];
|
UILabel *footer = (UILabel *)tv.tableFooterView;
|
||||||
}
|
|
||||||
|
// Guard: footer is nil/not a UILabel
|
||||||
|
if (![footer isKindOfClass:[UILabel class]]) return;
|
||||||
|
|
||||||
|
NSAttributedString *current = footer.attributedText;
|
||||||
|
if (!current.length) return;
|
||||||
|
|
||||||
|
// Handles repeated calls
|
||||||
|
if ([current.string hasPrefix:@"Infuse Team •"]) return;
|
||||||
|
|
||||||
|
NSDictionary *attrs = [current attributesAtIndex:0 effectiveRange:nil];
|
||||||
|
NSMutableAttributedString *mas = [current mutableCopy];
|
||||||
|
NSAttributedString *prefix = [[NSAttributedString alloc]
|
||||||
|
initWithString:@"Infuse Team • "
|
||||||
|
attributes:attrs];
|
||||||
|
[mas insertAttributedString:prefix atIndex:0];
|
||||||
|
footer.attributedText = mas;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Package: io.infuseteam.infuserootless
|
Package: io.infuseteam.infuserootless
|
||||||
Name: Infuse (Rootless)
|
Name: Infuse (Rootless)
|
||||||
Version: 2.0
|
Version: 2.2
|
||||||
Architecture: appletvos-arm64
|
Architecture: appletvos-arm64
|
||||||
Description: Unlock the full potential of Infuse
|
Description: Unlock the full potential of Infuse
|
||||||
Maintainer: Infuse Team
|
Maintainer: Infuse Team
|
||||||
|
|||||||
Reference in New Issue
Block a user