mirror of
https://github.com/opa334/TrollStore.git
synced 2026-11-28 23:39:41 +08:00
1.4.5b1
This commit is contained in:
1 parent
c572b1b84c
commit
67ec5ff14f
8 files changed
+49
-33
No files matched your search
@@ -19,6 +19,8 @@ extern NSArray* trollStoreInstalledAppContainerPaths();
|
||||
extern NSString* trollStorePath();
|
||||
extern NSString* trollStoreAppPath();
|
||||
|
||||
extern BOOL isRemovableSystemApp(NSString* appId);
|
||||
|
||||
#import <UIKit/UIAlertController.h>
|
||||
|
||||
@interface UIAlertController (Private)
|
||||
|
||||
@@ -326,6 +326,11 @@ NSString* trollStoreAppPath()
|
||||
return [trollStorePath() stringByAppendingPathComponent:@"TrollStore.app"];
|
||||
}
|
||||
|
||||
BOOL isRemovableSystemApp(NSString* appId)
|
||||
{
|
||||
return [[NSFileManager defaultManager] fileExistsAtPath:[@"/System/Library/AppSignatures" stringByAppendingPathComponent:appId]];
|
||||
}
|
||||
|
||||
LSApplicationProxy* findPersistenceHelperApp(PERSISTENCE_HELPER_TYPE allowedTypes)
|
||||
{
|
||||
__block LSApplicationProxy* outProxy;
|
||||
|
||||
Reference in new issue
Block a user