]> git.saurik.com Git - cydia.git/commitdiff
Re-fixed the user agent.
authorJay Freeman (saurik) <saurik@saurk.com>
Thu, 13 Aug 2009 10:00:37 +0000 (10:00 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:13:58 +0000 (07:13 +0000)
Cydia.mm
control

index f00d4d71a6b3014e48e5a01e7cc6e6aaee3c8529..18dc679b4f5321f239abe87a9c3d0d12eaa3c612 100644 (file)
--- 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 67163fbe5da5e58e623e6d220b71d2ee283ee261..b60aca646c95ea419b6b40d84056077fa46b7942 100644 (file)
--- a/control
+++ b/control
@@ -3,7 +3,7 @@ Priority: required
 Section: Packaging
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 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)