mirror of
https://github.com/opa334/TrollStore.git
synced 2026-07-02 03:00:39 +08:00
2.0.5
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
Package: com.opa334.trollstoreroothelper
|
||||
Name: trollstoreroothelper
|
||||
Version: 2.0.4
|
||||
Version: 2.0.5
|
||||
Architecture: iphoneos-arm
|
||||
Description: An awesome tool of some sort!!
|
||||
Maintainer: opa334
|
||||
|
||||
+9
-9
@@ -478,11 +478,11 @@ int signApp(NSString* appPath)
|
||||
#else
|
||||
int signAdhoc(NSString *filePath, NSDictionary *entitlements)
|
||||
{
|
||||
if (@available(iOS 16, *)) {
|
||||
return codesign_sign_adhoc(filePath.fileSystemRepresentation, true, entitlements);
|
||||
}
|
||||
//if (@available(iOS 16, *)) {
|
||||
// return codesign_sign_adhoc(filePath.fileSystemRepresentation, true, entitlements);
|
||||
//}
|
||||
// If iOS 14 is so great, how come there is no iOS 14 2?????
|
||||
else {
|
||||
//else {
|
||||
if(!isLdidInstalled()) return 173;
|
||||
|
||||
NSString *entitlementsPath = nil;
|
||||
@@ -519,7 +519,7 @@ int signAdhoc(NSString *filePath, NSDictionary *entitlements)
|
||||
{
|
||||
return 175;
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
int signApp(NSString* appPath)
|
||||
@@ -1051,7 +1051,7 @@ int installTrollStore(NSString* pathToTar)
|
||||
NSString* tmpTrollStorePath = [tmpPayloadPath stringByAppendingPathComponent:@"TrollStore.app"];
|
||||
if(![[NSFileManager defaultManager] fileExistsAtPath:tmpTrollStorePath]) return 1;
|
||||
|
||||
if (@available(iOS 16, *)) {} else {
|
||||
//if (@available(iOS 16, *)) {} else {
|
||||
// Transfer existing ldid installation if it exists
|
||||
// But only if the to-be-installed version of TrollStore is 1.5.0 or above
|
||||
// This is to make it possible to downgrade to older versions still
|
||||
@@ -1084,7 +1084,7 @@ int installTrollStore(NSString* pathToTar)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
// Merge existing URL scheme settings value
|
||||
if(!getTSURLSchemeState(nil))
|
||||
@@ -1367,12 +1367,12 @@ int MAIN_NAME(int argc, char *argv[], char *envp[])
|
||||
}
|
||||
else if([cmd isEqualToString:@"install-ldid"])
|
||||
{
|
||||
if (@available(iOS 16, *)) {} else {
|
||||
//if (@available(iOS 16, *)) {} else {
|
||||
if(args.count < 3) return -3;
|
||||
NSString* ldidPath = args[1];
|
||||
NSString* ldidVersion = args[2];
|
||||
installLdid(ldidPath, ldidVersion);
|
||||
}
|
||||
//}
|
||||
}
|
||||
else if([cmd isEqualToString:@"refresh"])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user