mirror of https://github.com/opa334/TrollStore.git
2.0.5
This commit is contained in:
parent
9abd926196
commit
3fe3e7f241
|
@ -1,6 +1,6 @@
|
||||||
Package: com.opa334.trollstoreroothelper
|
Package: com.opa334.trollstoreroothelper
|
||||||
Name: trollstoreroothelper
|
Name: trollstoreroothelper
|
||||||
Version: 2.0.4
|
Version: 2.0.5
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
Description: An awesome tool of some sort!!
|
Description: An awesome tool of some sort!!
|
||||||
Maintainer: opa334
|
Maintainer: opa334
|
||||||
|
|
|
@ -478,11 +478,11 @@ int signApp(NSString* appPath)
|
||||||
#else
|
#else
|
||||||
int signAdhoc(NSString *filePath, NSDictionary *entitlements)
|
int signAdhoc(NSString *filePath, NSDictionary *entitlements)
|
||||||
{
|
{
|
||||||
if (@available(iOS 16, *)) {
|
//if (@available(iOS 16, *)) {
|
||||||
return codesign_sign_adhoc(filePath.fileSystemRepresentation, true, entitlements);
|
// return codesign_sign_adhoc(filePath.fileSystemRepresentation, true, entitlements);
|
||||||
}
|
//}
|
||||||
// If iOS 14 is so great, how come there is no iOS 14 2?????
|
// If iOS 14 is so great, how come there is no iOS 14 2?????
|
||||||
else {
|
//else {
|
||||||
if(!isLdidInstalled()) return 173;
|
if(!isLdidInstalled()) return 173;
|
||||||
|
|
||||||
NSString *entitlementsPath = nil;
|
NSString *entitlementsPath = nil;
|
||||||
|
@ -519,7 +519,7 @@ int signAdhoc(NSString *filePath, NSDictionary *entitlements)
|
||||||
{
|
{
|
||||||
return 175;
|
return 175;
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
int signApp(NSString* appPath)
|
int signApp(NSString* appPath)
|
||||||
|
@ -1051,7 +1051,7 @@ int installTrollStore(NSString* pathToTar)
|
||||||
NSString* tmpTrollStorePath = [tmpPayloadPath stringByAppendingPathComponent:@"TrollStore.app"];
|
NSString* tmpTrollStorePath = [tmpPayloadPath stringByAppendingPathComponent:@"TrollStore.app"];
|
||||||
if(![[NSFileManager defaultManager] fileExistsAtPath:tmpTrollStorePath]) return 1;
|
if(![[NSFileManager defaultManager] fileExistsAtPath:tmpTrollStorePath]) return 1;
|
||||||
|
|
||||||
if (@available(iOS 16, *)) {} else {
|
//if (@available(iOS 16, *)) {} else {
|
||||||
// Transfer existing ldid installation if it exists
|
// Transfer existing ldid installation if it exists
|
||||||
// But only if the to-be-installed version of TrollStore is 1.5.0 or above
|
// 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
|
// 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
|
// Merge existing URL scheme settings value
|
||||||
if(!getTSURLSchemeState(nil))
|
if(!getTSURLSchemeState(nil))
|
||||||
|
@ -1367,12 +1367,12 @@ int MAIN_NAME(int argc, char *argv[], char *envp[])
|
||||||
}
|
}
|
||||||
else if([cmd isEqualToString:@"install-ldid"])
|
else if([cmd isEqualToString:@"install-ldid"])
|
||||||
{
|
{
|
||||||
if (@available(iOS 16, *)) {} else {
|
//if (@available(iOS 16, *)) {} else {
|
||||||
if(args.count < 3) return -3;
|
if(args.count < 3) return -3;
|
||||||
NSString* ldidPath = args[1];
|
NSString* ldidPath = args[1];
|
||||||
NSString* ldidVersion = args[2];
|
NSString* ldidVersion = args[2];
|
||||||
installLdid(ldidPath, ldidVersion);
|
installLdid(ldidPath, ldidVersion);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
else if([cmd isEqualToString:@"refresh"])
|
else if([cmd isEqualToString:@"refresh"])
|
||||||
{
|
{
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<string>iPhoneOS</string>
|
<string>iPhoneOS</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2.0.4</string>
|
<string>2.0.5</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UIDeviceFamily</key>
|
<key>UIDeviceFamily</key>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Package: com.opa334.trollstorehelper
|
Package: com.opa334.trollstorehelper
|
||||||
Name: TrollStore Helper
|
Name: TrollStore Helper
|
||||||
Version: 2.0.4
|
Version: 2.0.5
|
||||||
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
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<string>iPhoneOS</string>
|
<string>iPhoneOS</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2.0.4</string>
|
<string>2.0.5</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UIDeviceFamily</key>
|
<key>UIDeviceFamily</key>
|
||||||
|
|
|
@ -54,12 +54,12 @@ extern NSUserDefaults* trollStoreUserDefaults();
|
||||||
errorDescription = @"The app's main executable does not exist.";
|
errorDescription = @"The app's main executable does not exist.";
|
||||||
break;
|
break;
|
||||||
case 175: {
|
case 175: {
|
||||||
if (@available(iOS 16, *)) {
|
//if (@available(iOS 16, *)) {
|
||||||
errorDescription = @"Failed to sign the app.";
|
// errorDescription = @"Failed to sign the app.";
|
||||||
}
|
//}
|
||||||
else {
|
//else {
|
||||||
errorDescription = @"Failed to sign the app. ldid returned a non zero status code.";
|
errorDescription = @"Failed to sign the app. ldid returned a non zero status code.";
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 176:
|
case 176:
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
// or if it's the one from an old TrollStore version that's no longer supported
|
// or if it's the one from an old TrollStore version that's no longer supported
|
||||||
- (void)handleLdidCheck
|
- (void)handleLdidCheck
|
||||||
{
|
{
|
||||||
if (@available(iOS 16, *)) {} else {
|
//if (@available(iOS 16, *)) {} else {
|
||||||
NSString* tsAppPath = [NSBundle mainBundle].bundlePath;
|
NSString* tsAppPath = [NSBundle mainBundle].bundlePath;
|
||||||
|
|
||||||
NSString* ldidPath = [tsAppPath stringByAppendingPathComponent:@"ldid"];
|
NSString* ldidPath = [tsAppPath stringByAppendingPathComponent:@"ldid"];
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
{
|
{
|
||||||
[TSInstallationController installLdid];
|
[TSInstallationController installLdid];
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
|
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
|
||||||
|
|
|
@ -34,7 +34,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (@available(iOS 16, *)) {} else {
|
//if (@available(iOS 16, *)) {} else {
|
||||||
fetchLatestLdidVersion(^(NSString* latestVersion)
|
fetchLatestLdidVersion(^(NSString* latestVersion)
|
||||||
{
|
{
|
||||||
NSString* ldidVersionPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid.version"];
|
NSString* ldidVersionPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid.version"];
|
||||||
|
@ -54,7 +54,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSMutableArray*)specifiers
|
- (NSMutableArray*)specifiers
|
||||||
|
@ -113,7 +113,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
|
||||||
|
|
||||||
[_specifiers addObject:rebuildIconCacheSpecifier];
|
[_specifiers addObject:rebuildIconCacheSpecifier];
|
||||||
|
|
||||||
if (@available(iOS 16, *)) { } else {
|
//if (@available(iOS 16, *)) { } else {
|
||||||
NSString* ldidPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid"];
|
NSString* ldidPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid"];
|
||||||
NSString* ldidVersionPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid.version"];
|
NSString* ldidVersionPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid.version"];
|
||||||
BOOL ldidInstalled = [[NSFileManager defaultManager] fileExistsAtPath:ldidPath];
|
BOOL ldidInstalled = [[NSFileManager defaultManager] fileExistsAtPath:ldidPath];
|
||||||
|
@ -188,7 +188,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
|
||||||
installLdidSpecifier.buttonAction = @selector(installOrUpdateLdidPressed);
|
installLdidSpecifier.buttonAction = @selector(installOrUpdateLdidPressed);
|
||||||
[_specifiers addObject:installLdidSpecifier];
|
[_specifiers addObject:installLdidSpecifier];
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
|
|
||||||
PSSpecifier* persistenceGroupSpecifier = [PSSpecifier emptyGroupSpecifier];
|
PSSpecifier* persistenceGroupSpecifier = [PSSpecifier emptyGroupSpecifier];
|
||||||
persistenceGroupSpecifier.name = @"Persistence";
|
persistenceGroupSpecifier.name = @"Persistence";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Package: com.opa334.trollstore
|
Package: com.opa334.trollstore
|
||||||
Name: TrollStore
|
Name: TrollStore
|
||||||
Version: 2.0.4
|
Version: 2.0.5
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
Description: An awesome application!
|
Description: An awesome application!
|
||||||
Maintainer: opa334
|
Maintainer: opa334
|
||||||
|
|
Loading…
Reference in New Issue