summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-08-13 10:00:37 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:58 +0000
commit9ef18597071e5514e45c9de25d78f8f162a2ea70 (patch)
tree65a7a42ca9cac6b7b7b78a19bec2d1148d882077
parent35bf217f57c435980e1b6cbf2ff60c0451c30e14 (diff)
Re-fixed the user agent.
-rw-r--r--Cydia.mm6
-rw-r--r--control2
2 files changed, 4 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index f00d4d7..18dc679 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 67163fb..b60aca6 100644
--- 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)