From d502576e1fd21916d7e0ecc88473fb8b256c51dd Mon Sep 17 00:00:00 2001 From: Dhinak G <17605561+dhinakg@users.noreply.github.com> Date: Thu, 21 Dec 2023 21:39:31 -0500 Subject: [PATCH] Remove dev mode from app info --- TrollStore/TSAppInfo.m | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/TrollStore/TSAppInfo.m b/TrollStore/TSAppInfo.m index a4b7dfe..5e8017c 100644 --- a/TrollStore/TSAppInfo.m +++ b/TrollStore/TSAppInfo.m @@ -1012,23 +1012,6 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size); } }]; - // Check if any bundles have get-task-allow, which require dev mode enabled on 16+ - __block BOOL needsDevMode = NO; - if (@available(iOS 16.0, *)) { - [self enumerateAllEntitlements:^(NSString *key, NSObject *value, BOOL *stop) - { - if([key isEqualToString:@"get-task-allow"]) - { - NSNumber* valueNum = (NSNumber*)value; - if(valueNum && [valueNum isKindOfClass:NSNumber.class]) - { - needsDevMode = valueNum.boolValue; - if(needsDevMode) *stop = YES; - } - } - }]; - } - NSMutableParagraphStyle* leftAlignment = [[NSMutableParagraphStyle alloc] init]; leftAlignment.alignment = NSTextAlignmentLeft; @@ -1085,8 +1068,6 @@ extern UIImage* imageWithSize(UIImage* image, CGSize size); [description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nBundle Identifier: %@", bundleId] attributes:bodyAttributes]]; [description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nVersion: %@", version] attributes:bodyAttributes]]; [description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nSize: %@", sizeString] attributes:bodyAttributes]]; - [description appendAttributedString:[[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"\nRequires Developer Mode: %@", needsDevMode ? @"Yes" : @"No"] attributes:bodyAttributes]]; - [description appendAttributedString:[[NSAttributedString alloc] initWithString:@"\n\nSandboxing" attributes:headerAttributes]]; if(isUnsandboxed) {