forked from ipadkid358/Hid3x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTweak.x
32 lines (27 loc) · 1 KB
/
Tweak.x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// valid for iOS 4 - 11.1
@interface SBApplicationIcon
- (NSString *)applicationBundleID;
@end
// valid for iOS 3 - 11.1
%hook SBIconModel
// requires a respring, only called on SpringBoard load
- (BOOL)isIconVisible:(SBApplicationIcon *)icon {
// Just add any bundle IDs you want to this array
NSArray<NSString *> *hide = @[
@"com.newosxbook.jb.liberios", // LiberiOS
@"org.tihmstar.h3lix", // h3lix
@"kim.cracksby.yalu102", // Yalu102
@"supplies.wall.phoenix", // Phoenix
@"com.qwertyoruiopz.zmach-portal", // mach_portal
@"com.example.extra-recipe", // extra_recipe
@"org.coolstar.electra", // Electra
@"zone.sparkes.MeridianJB", // Meridian
@"net.sticktron.g0blin", // g0blin
@"org.tihmstar.doubleH3lix" // doubleH3lix
];
if ([hide containsObject:icon.applicationBundleID]) {
return NO;
}
return %orig;
}
%end