Skip to content

Commit acf193b

Browse files
committed
1.2.2
1 parent 7d319b0 commit acf193b

File tree

7 files changed

+20
-15
lines changed

7 files changed

+20
-15
lines changed

RootHelper/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: com.opa334.trollstoreroothelper
22
Name: trollstoreroothelper
3-
Version: 1.2.1
3+
Version: 1.2.2
44
Architecture: iphoneos-arm
55
Description: An awesome tool of some sort!!
66
Maintainer: opa334

RootHelper/main.m

+13-8
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,21 @@ typedef CF_OPTIONS(uint32_t, SecCSFlags) {
8080
return systemURLSchemes.copy;
8181
}
8282

83-
NSSet<NSString*>* appleAppBundleIdentifiers(void)
83+
NSSet<NSString*>* immutableAppBundleIdentifiers(void)
8484
{
85-
LSEnumerator* enumerator = [LSEnumerator enumeratorForApplicationProxiesWithOptions:0];
86-
enumerator.predicate = [NSPredicate predicateWithFormat:@"bundleIdentifier BEGINSWITH 'com.apple'"];
87-
8885
NSMutableSet* systemAppIdentifiers = [NSMutableSet new];
89-
LSApplicationProxy* proxy;
90-
while(proxy = [enumerator nextObject])
86+
87+
LSEnumerator* enumerator = [LSEnumerator enumeratorForApplicationProxiesWithOptions:0];
88+
LSApplicationProxy* appProxy;
89+
while(appProxy = [enumerator nextObject])
9190
{
92-
[systemAppIdentifiers addObject:proxy.bundleIdentifier.lowercaseString];
91+
if(appProxy.installed)
92+
{
93+
if(![appProxy.bundleURL.path hasPrefix:@"/private/var/containers"])
94+
{
95+
[systemAppIdentifiers addObject:appProxy.bundleIdentifier.lowercaseString];
96+
}
97+
}
9398
}
9499

95100
return systemAppIdentifiers.copy;
@@ -597,7 +602,7 @@ int installApp(NSString* appPath, BOOL sign, BOOL force)
597602

598603
NSString* appId = appIdForAppPath(appPath);
599604
if(!appId) return 176;
600-
if([appleAppBundleIdentifiers() containsObject:appId.lowercaseString])
605+
if([immutableAppBundleIdentifiers() containsObject:appId.lowercaseString])
601606
{
602607
return 179;
603608
}

RootHelper/uicache.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
// uicache on steroids
88

9-
extern NSSet<NSString*>* appleAppBundleIdentifiers(void);
9+
extern NSSet<NSString*>* immutableAppBundleIdentifiers(void);
1010
extern NSDictionary* dumpEntitlementsFromBinaryAtPath(NSString* binaryPath);
1111

1212
NSDictionary* constructGroupsContainersForEntitlements(NSDictionary* entitlements, BOOL systemGroups)
@@ -109,7 +109,7 @@ void registerPath(char* cPath, int unregister)
109109
NSDictionary* appInfoPlist = [NSDictionary dictionaryWithContentsOfFile:[path stringByAppendingPathComponent:@"Info.plist"]];
110110
NSString* appBundleID = [appInfoPlist objectForKey:@"CFBundleIdentifier"];
111111

112-
if([appleAppBundleIdentifiers() containsObject:appBundleID.lowercaseString]) return;
112+
if([immutableAppBundleIdentifiers() containsObject:appBundleID.lowercaseString]) return;
113113

114114
if(appBundleID && !unregister)
115115
{

TrollHelper/Resources/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<string>iPhoneOS</string>
5353
</array>
5454
<key>CFBundleVersion</key>
55-
<string>1.2.1</string>
55+
<string>1.2.2</string>
5656
<key>LSRequiresIPhoneOS</key>
5757
<true/>
5858
<key>UIDeviceFamily</key>

TrollHelper/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: com.opa334.trollstorehelper
22
Name: TrollStore Helper
3-
Version: 1.2.1
3+
Version: 1.2.2
44
Architecture: iphoneos-arm
55
Description: Helper utility to install and manage TrollStore!
66
Maintainer: opa334

TrollStore/Resources/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<string>iPhoneOS</string>
5151
</array>
5252
<key>CFBundleVersion</key>
53-
<string>1.2.1</string>
53+
<string>1.2.2</string>
5454
<key>LSRequiresIPhoneOS</key>
5555
<true/>
5656
<key>UIDeviceFamily</key>

TrollStore/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: com.opa334.trollstore
22
Name: TrollStore
3-
Version: 1.2.1
3+
Version: 1.2.2
44
Architecture: iphoneos-arm
55
Description: An awesome application!
66
Maintainer: opa334

0 commit comments

Comments
 (0)