mirror of
https://github.com/NohamR/TrollDecrypt-tvOS.git
synced 2026-07-11 22:41:37 +00:00
1.1
Fix icons not showing up for some users app crashing on launch, app crashing when going to share files
This commit is contained in:
37
LSApplicationProxy+AltList.h
Normal file
37
LSApplicationProxy+AltList.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#import <MobileCoreServices/LSApplicationProxy.h>
|
||||
#import <MobileCoreServices/LSApplicationWorkspace.h>
|
||||
|
||||
@interface LSApplicationRecord : NSObject
|
||||
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
|
||||
@property (getter=isLaunchProhibited,readonly) BOOL launchProhibited;
|
||||
@end
|
||||
|
||||
@interface LSApplicationProxy (Additions)
|
||||
@property (readonly, nonatomic) NSString *shortVersionString;
|
||||
@property (nonatomic,readonly) NSString* localizedName;
|
||||
@property (nonatomic,readonly) NSString* applicationType; // (User/System)
|
||||
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
|
||||
@property (getter=isLaunchProhibited,nonatomic,readonly) BOOL launchProhibited;
|
||||
+ (instancetype)applicationProxyForIdentifier:(NSString*)identifier;
|
||||
- (LSApplicationRecord*)correspondingApplicationRecord;
|
||||
@end
|
||||
|
||||
@interface LSApplicationWorkspace (Additions)
|
||||
- (void)addObserver:(id)arg1;
|
||||
- (void)removeObserver:(id)arg1;
|
||||
- (void)enumerateApplicationsOfType:(NSUInteger)type block:(void (^)(LSApplicationProxy*))block;
|
||||
@end
|
||||
|
||||
@interface LSApplicationProxy (AltList)
|
||||
- (BOOL)atl_isSystemApplication;
|
||||
- (BOOL)atl_isUserApplication;
|
||||
- (BOOL)atl_isHidden;
|
||||
- (NSString*)atl_fastDisplayName;
|
||||
- (NSString*)atl_nameToDisplay;
|
||||
- (NSString*)atl_shortVersionString;
|
||||
@property (nonatomic,readonly) NSString* atl_bundleIdentifier;
|
||||
@end
|
||||
|
||||
@interface LSApplicationWorkspace (AltList)
|
||||
- (NSArray*)atl_allInstalledApplications;
|
||||
@end
|
||||
Reference in New Issue
Block a user