mirror of https://github.com/opa334/TrollStore.git
Compare commits
3 Commits
e6b5c000a9
...
1092d91b5d
Author | SHA1 | Date |
---|---|---|
alfiecg24 | 1092d91b5d | |
alfiecg24 | 8e9b3caa93 | |
alfiecg24 | 4d8982545d |
|
@ -1,6 +1,6 @@
|
|||
Package: com.opa334.trollstoreroothelper
|
||||
Name: trollstoreroothelper
|
||||
Version: 2.0.14
|
||||
Version: 2.0.15
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome tool of some sort!!
|
||||
Maintainer: opa334
|
||||
|
|
|
@ -1310,12 +1310,16 @@ BOOL _installPersistenceHelper(LSApplicationProxy* appProxy, NSString* sourcePer
|
|||
return YES;
|
||||
}
|
||||
|
||||
void installPersistenceHelper(NSString* systemAppId)
|
||||
void installPersistenceHelper(NSString* systemAppId, NSString *persistenceHelperBinary, NSString *rootHelperBinary)
|
||||
{
|
||||
if(findPersistenceHelperApp(PERSISTENCE_HELPER_TYPE_ALL)) return;
|
||||
|
||||
NSString* persistenceHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"PersistenceHelper"];
|
||||
NSString* rootHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"trollstorehelper"];
|
||||
if (persistenceHelperBinary == nil) {
|
||||
persistenceHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"PersistenceHelper"];
|
||||
}
|
||||
if (rootHelperBinary == nil) {
|
||||
rootHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"trollstorehelper"];
|
||||
}
|
||||
LSApplicationProxy* appProxy = [LSApplicationProxy applicationProxyForIdentifier:systemAppId];
|
||||
if(!appProxy || ![appProxy.bundleType isEqualToString:@"System"]) return;
|
||||
|
||||
|
@ -1528,8 +1532,15 @@ int MAIN_NAME(int argc, char *argv[], char *envp[])
|
|||
else if([cmd isEqualToString:@"install-persistence-helper"])
|
||||
{
|
||||
if(args.count < 2) return -3;
|
||||
NSString* systemAppId = args.lastObject;
|
||||
installPersistenceHelper(systemAppId);
|
||||
NSString* systemAppId = args[1];
|
||||
NSString* persistenceHelperBinary;
|
||||
NSString* rootHelperBinary;
|
||||
if (args.count == 4) {
|
||||
persistenceHelperBinary = args[2];
|
||||
rootHelperBinary = args[3];
|
||||
}
|
||||
|
||||
installPersistenceHelper(systemAppId, persistenceHelperBinary, rootHelperBinary);
|
||||
}
|
||||
else if([cmd isEqualToString:@"uninstall-persistence-helper"])
|
||||
{
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<string>iPhoneOS</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2.0.14</string>
|
||||
<string>2.0.15</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Package: com.opa334.trollstorehelper
|
||||
Name: TrollStore Helper
|
||||
Version: 2.0.14
|
||||
Version: 2.0.15
|
||||
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>2.0.14</string>
|
||||
<string>2.0.15</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIDeviceFamily</key>
|
||||
|
|
|
@ -88,6 +88,7 @@ extern NSUserDefaults* trollStoreUserDefaults();
|
|||
break;
|
||||
case 184:
|
||||
errorDescription = @"The app was installed successfully, but has additional binaries that are encrypted (e.g. extensions, plugins). The app itself should work, but you may experience broken functionality as a result.";
|
||||
break;
|
||||
case 185:
|
||||
errorDescription = @"Failed to sign the app. The CoreTrust bypass returned a non zero status code.";
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Package: com.opa334.trollstore
|
||||
Name: TrollStore
|
||||
Version: 2.0.14
|
||||
Version: 2.0.15
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome application!
|
||||
Maintainer: opa334
|
||||
|
|
Loading…
Reference in New Issue