Compare commits

..

No commits in common. "1092d91b5d2e35f01432b05d6e7420e5f86e7e36" and "e6b5c000a9391249510c54bf89630455ca99e814" have entirely different histories.

7 changed files with 10 additions and 22 deletions

View File

@ -1,6 +1,6 @@
Package: com.opa334.trollstoreroothelper Package: com.opa334.trollstoreroothelper
Name: trollstoreroothelper Name: trollstoreroothelper
Version: 2.0.15 Version: 2.0.14
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: An awesome tool of some sort!! Description: An awesome tool of some sort!!
Maintainer: opa334 Maintainer: opa334

View File

@ -1310,16 +1310,12 @@ BOOL _installPersistenceHelper(LSApplicationProxy* appProxy, NSString* sourcePer
return YES; return YES;
} }
void installPersistenceHelper(NSString* systemAppId, NSString *persistenceHelperBinary, NSString *rootHelperBinary) void installPersistenceHelper(NSString* systemAppId)
{ {
if(findPersistenceHelperApp(PERSISTENCE_HELPER_TYPE_ALL)) return; if(findPersistenceHelperApp(PERSISTENCE_HELPER_TYPE_ALL)) return;
if (persistenceHelperBinary == nil) { NSString* persistenceHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"PersistenceHelper"];
persistenceHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"PersistenceHelper"]; NSString* rootHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"trollstorehelper"];
}
if (rootHelperBinary == nil) {
rootHelperBinary = [trollStoreAppPath() stringByAppendingPathComponent:@"trollstorehelper"];
}
LSApplicationProxy* appProxy = [LSApplicationProxy applicationProxyForIdentifier:systemAppId]; LSApplicationProxy* appProxy = [LSApplicationProxy applicationProxyForIdentifier:systemAppId];
if(!appProxy || ![appProxy.bundleType isEqualToString:@"System"]) return; if(!appProxy || ![appProxy.bundleType isEqualToString:@"System"]) return;
@ -1532,15 +1528,8 @@ int MAIN_NAME(int argc, char *argv[], char *envp[])
else if([cmd isEqualToString:@"install-persistence-helper"]) else if([cmd isEqualToString:@"install-persistence-helper"])
{ {
if(args.count < 2) return -3; if(args.count < 2) return -3;
NSString* systemAppId = args[1]; NSString* systemAppId = args.lastObject;
NSString* persistenceHelperBinary; installPersistenceHelper(systemAppId);
NSString* rootHelperBinary;
if (args.count == 4) {
persistenceHelperBinary = args[2];
rootHelperBinary = args[3];
}
installPersistenceHelper(systemAppId, persistenceHelperBinary, rootHelperBinary);
} }
else if([cmd isEqualToString:@"uninstall-persistence-helper"]) else if([cmd isEqualToString:@"uninstall-persistence-helper"])
{ {

View File

@ -52,7 +52,7 @@
<string>iPhoneOS</string> <string>iPhoneOS</string>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.0.15</string> <string>2.0.14</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>

View File

@ -1,6 +1,6 @@
Package: com.opa334.trollstorehelper Package: com.opa334.trollstorehelper
Name: TrollStore Helper Name: TrollStore Helper
Version: 2.0.15 Version: 2.0.14
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: Helper utility to install and manage TrollStore! Description: Helper utility to install and manage TrollStore!
Maintainer: opa334 Maintainer: opa334

View File

@ -50,7 +50,7 @@
<string>iPhoneOS</string> <string>iPhoneOS</string>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2.0.15</string> <string>2.0.14</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>

View File

@ -88,7 +88,6 @@ extern NSUserDefaults* trollStoreUserDefaults();
break; break;
case 184: 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."; 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: case 185:
errorDescription = @"Failed to sign the app. The CoreTrust bypass returned a non zero status code."; errorDescription = @"Failed to sign the app. The CoreTrust bypass returned a non zero status code.";
} }

View File

@ -1,6 +1,6 @@
Package: com.opa334.trollstore Package: com.opa334.trollstore
Name: TrollStore Name: TrollStore
Version: 2.0.15 Version: 2.0.14
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: An awesome application! Description: An awesome application!
Maintainer: opa334 Maintainer: opa334