From: Jay Freeman (saurik) Date: Thu, 13 Aug 2009 10:00:37 +0000 (+0000) Subject: Re-fixed the user agent. X-Git-Tag: v1.0.3366~230 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/9ef18597071e5514e45c9de25d78f8f162a2ea70 Re-fixed the user agent. --- diff --git a/Cydia.mm b/Cydia.mm index f00d4d71..18dc679b 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -3817,11 +3817,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { ]; if (Safari_ != nil) - application = [NSString stringWithFormat:@"Safari/%@ %@", application, Safari_]; + application = [NSString stringWithFormat:@"Safari/%@ %@", Safari_, application]; if (Build_ != nil) - application = [NSString stringWithFormat:@"Mobile/%@ %@", application, Build_]; + application = [NSString stringWithFormat:@"Mobile/%@ %@", Build_, application]; if (Product_ != nil) - application = [NSString stringWithFormat:@"Version/%@ %@", application, Product_]; + application = [NSString stringWithFormat:@"Version/%@ %@", Product_, application]; [webview setApplicationNameForUserAgent:application]; } return self; diff --git a/control b/control index 67163fbe..b60aca64 100644 --- a/control +++ b/control @@ -3,7 +3,7 @@ Priority: required Section: Packaging Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 1.0.2988-1 +Version: 1.0.2989-1 Replaces: com.sosiphone.addcydia Depends: apr-lib, apt7-lib, apt7-key, darwintools, pcre, shell-cmds, system-cmds Pre-Depends: dpkg (>= 1.14.25-8)