This commit is contained in:
opa334
2023-11-28 03:36:02 +01:00
parent 9abd926196
commit 3fe3e7f241
9 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>2.0.4</string>
<string>2.0.5</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIDeviceFamily</key>
+5 -5
View File
@@ -54,12 +54,12 @@ extern NSUserDefaults* trollStoreUserDefaults();
errorDescription = @"The app's main executable does not exist.";
break;
case 175: {
if (@available(iOS 16, *)) {
errorDescription = @"Failed to sign the app.";
}
else {
//if (@available(iOS 16, *)) {
// errorDescription = @"Failed to sign the app.";
//}
//else {
errorDescription = @"Failed to sign the app. ldid returned a non zero status code.";
}
//}
}
break;
case 176:
+2 -2
View File
@@ -76,7 +76,7 @@
// or if it's the one from an old TrollStore version that's no longer supported
- (void)handleLdidCheck
{
if (@available(iOS 16, *)) {} else {
//if (@available(iOS 16, *)) {} else {
NSString* tsAppPath = [NSBundle mainBundle].bundlePath;
NSString* ldidPath = [tsAppPath stringByAppendingPathComponent:@"ldid"];
@@ -86,7 +86,7 @@
{
[TSInstallationController installLdid];
}
}
//}
}
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
+4 -4
View File
@@ -34,7 +34,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
}
});
if (@available(iOS 16, *)) {} else {
//if (@available(iOS 16, *)) {} else {
fetchLatestLdidVersion(^(NSString* latestVersion)
{
NSString* ldidVersionPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid.version"];
@@ -54,7 +54,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
});
}
});
}
//}
}
- (NSMutableArray*)specifiers
@@ -113,7 +113,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
[_specifiers addObject:rebuildIconCacheSpecifier];
if (@available(iOS 16, *)) { } else {
//if (@available(iOS 16, *)) { } else {
NSString* ldidPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid"];
NSString* ldidVersionPath = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:@"ldid.version"];
BOOL ldidInstalled = [[NSFileManager defaultManager] fileExistsAtPath:ldidPath];
@@ -188,7 +188,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
installLdidSpecifier.buttonAction = @selector(installOrUpdateLdidPressed);
[_specifiers addObject:installLdidSpecifier];
}
}
//}
PSSpecifier* persistenceGroupSpecifier = [PSSpecifier emptyGroupSpecifier];
persistenceGroupSpecifier.name = @"Persistence";
+1 -1
View File
@@ -1,6 +1,6 @@
Package: com.opa334.trollstore
Name: TrollStore
Version: 2.0.4
Version: 2.0.5
Architecture: iphoneos-arm
Description: An awesome application!
Maintainer: opa334