]> git.saurik.com Git - uikittools.git/commitdiff
Add some newer MGCopyAnswer keys from iOS 8 and 9. v1.1.11
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 12 Oct 2015 12:56:10 +0000 (05:56 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 12 Oct 2015 13:02:53 +0000 (06:02 -0700)
gssc.mm

diff --git a/gssc.mm b/gssc.mm
index 7473aaeac0fb2fa50defffed41ec766c575edc4a..eda04fcd6377d07df38e141d320a76a90fecc935 100644 (file)
--- a/gssc.mm
+++ b/gssc.mm
@@ -98,6 +98,26 @@ int main(int argc, char *argv[]) {
                 if (CFTypeRef (*$MGCopyAnswer)(CFStringRef) = reinterpret_cast<CFTypeRef (*)(CFStringRef)>(dlsym(libMobileGestalt, "MGCopyAnswer"))) {
                     NSMutableDictionary *answers([NSMutableDictionary dictionary]);
                     for (NSString *name in [NSArray arrayWithObjects:
+                        @"HasSEP",
+                        @"HasThinBezel",
+                        @"apple-internal-install",
+                        @"cameraRestriction",
+                        @"data-plan",
+                        @"multitasking-gestures",
+                        @"rear-facing-camera",
+                        @"wapi",
+                        @"watch-companion",
+
+                        @"AirDropCapability",
+                        @"CarrierInstallCapability",
+                        @"CellularTelephonyCapability",
+                        @"UIParallaxCapability",
+                        @"ambient-light-sensor",
+                        @"personal-hotspot",
+                        @"shoebox",
+                        @"hall-effect-sensor",
+                        @"3Gvenice",
+
                         @"ActiveWirelessTechnology",
                         //@"AirplaneMode",
                         @"AllDeviceCapabilities",