1
0
mirror of https://github.com/opa334/TrollStore.git synced 2025-07-07 00:38:46 +08:00

Create TSExploitDescriptor.m

This commit is contained in:
a1109471307 2025-07-03 18:10:06 +08:00 committed by GitHub
parent 50a7142b2d
commit 53117219a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,16 @@
@implementation TSExploitDescriptor
+ (instancetype)descriptorWithJSON:(NSDictionary *)json {
TSExploitDescriptor *desc = [TSExploitDescriptor new];
desc.identifier = json[@"id"];
desc.minOS = json[@"min_ios"];
desc.maxOS = json[@"max_ios"];
return desc;
}
- (BOOL)isCompatibleWithCurrentDevice {
//
return YES;
}
@end