From: Jay Freeman (saurik) Date: Sun, 5 Mar 2017 05:21:53 +0000 (-0800) Subject: Fix the System user-agent component (this rotted). X-Git-Tag: v1.1.31~14 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/8511eb452e6188051960d2d96473a7810f85f5f2 Fix the System user-agent component (this rotted). --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 9c2b524e..5a79c81d 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -10014,7 +10014,7 @@ int main(int argc, char *argv[]) { UniqueID_ = UniqueIdentifier(device); if (NSDictionary *info = [NSDictionary dictionaryWithContentsOfFile:@"/Applications/MobileSafari.app/Info.plist"]) { - Product_ = [info objectForKey:@"SafariProductVersion"]; + Product_ = [info objectForKey:@"SafariProductVersion"] ?: [info objectForKey:@"CFBundleShortVersionString"]; Safari_ = [info objectForKey:@"CFBundleVersion"]; }