mirror of https://github.com/opa334/TrollStore.git
1.2.2
This commit is contained in:
parent
7d319b04d1
commit
acf193b3ce
|
@ -1,6 +1,6 @@
|
|||
Package: com.opa334.trollstoreroothelper
|
||||
Name: trollstoreroothelper
|
||||
Version: 1.2.1
|
||||
Version: 1.2.2
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome tool of some sort!!
|
||||
Maintainer: opa334
|
||||
|
|
|
@ -80,16 +80,21 @@ NSSet<NSString*>* appleURLSchemes(void)
|
|||
return systemURLSchemes.copy;
|
||||
}
|
||||
|
||||
NSSet<NSString*>* appleAppBundleIdentifiers(void)
|
||||
NSSet<NSString*>* immutableAppBundleIdentifiers(void)
|
||||
{
|
||||
LSEnumerator* enumerator = [LSEnumerator enumeratorForApplicationProxiesWithOptions:0];
|
||||
enumerator.predicate = [NSPredicate predicateWithFormat:@"bundleIdentifier BEGINSWITH 'com.apple'"];
|
||||
|
||||
NSMutableSet* systemAppIdentifiers = [NSMutableSet new];
|
||||
LSApplicationProxy* proxy;
|
||||
while(proxy = [enumerator nextObject])
|
||||
|
||||
LSEnumerator* enumerator = [LSEnumerator enumeratorForApplicationProxiesWithOptions:0];
|
||||
LSApplicationProxy* appProxy;
|
||||
while(appProxy = [enumerator nextObject])
|
||||
{
|
||||
[systemAppIdentifiers addObject:proxy.bundleIdentifier.lowercaseString];
|
||||
if(appProxy.installed)
|
||||
{
|
||||
if(![appProxy.bundleURL.path hasPrefix:@"/private/var/containers"])
|
||||
{
|
||||
[systemAppIdentifiers addObject:appProxy.bundleIdentifier.lowercaseString];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return systemAppIdentifiers.copy;
|
||||
|
@ -597,7 +602,7 @@ int installApp(NSString* appPath, BOOL sign, BOOL force)
|
|||
|
||||
NSString* appId = appIdForAppPath(appPath);
|
||||
if(!appId) return 176;
|
||||
if([appleAppBundleIdentifiers() containsObject:appId.lowercaseString])
|
||||
if([immutableAppBundleIdentifiers() containsObject:appId.lowercaseString])
|
||||
{
|
||||
return 179;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
// uicache on steroids
|
||||
|
||||
extern NSSet<NSString*>* appleAppBundleIdentifiers(void);
|
||||
extern NSSet<NSString*>* immutableAppBundleIdentifiers(void);
|
||||
extern NSDictionary* dumpEntitlementsFromBinaryAtPath(NSString* binaryPath);
|
||||
|
||||
NSDictionary* constructGroupsContainersForEntitlements(NSDictionary* entitlements, BOOL systemGroups)
|
||||
|
@ -109,7 +109,7 @@ void registerPath(char* cPath, int unregister)
|
|||
NSDictionary* appInfoPlist = [NSDictionary dictionaryWithContentsOfFile:[path stringByAppendingPathComponent:@"Info.plist"]];
|
||||
NSString* appBundleID = [appInfoPlist objectForKey:@"CFBundleIdentifier"];
|
||||
|
||||
if([appleAppBundleIdentifiers() containsObject:appBundleID.lowercaseString]) return;
|
||||
if([immutableAppBundleIdentifiers() containsObject:appBundleID.lowercaseString]) return;
|
||||
|
||||
if(appBundleID && !unregister)
|
||||
{
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.2.1</string>
|
||||
<string>1.2.2</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Package: com.opa334.trollstorehelper
|
||||
Name: TrollStore Helper
|
||||
Version: 1.2.1
|
||||
Version: 1.2.2
|
||||
Architecture: iphoneos-arm
|
||||
Description: Helper utility to install and manage TrollStore!
|
||||
Maintainer: opa334
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.2.1</string>
|
||||
<string>1.2.2</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Package: com.opa334.trollstore
|
||||
Name: TrollStore
|
||||
Version: 1.2.1
|
||||
Version: 1.2.2
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome application!
|
||||
Maintainer: opa334
|
||||
|
|
Loading…
Reference in New Issue