]> git.saurik.com Git - cydia.git/commitdiff
Use a firmware-specific cydia.saurik.com/ui.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 07:10:01 +0000 (23:10 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 07:10:01 +0000 (23:10 -0800)
MobileCydia.mm

index 158d2ce94b9d3c6357f9349883298c7870e7fb0c..bd5ddb936fe46cec2d63f122d916fcc27f062f68 100644 (file)
@@ -10046,6 +10046,8 @@ int main(int argc, char *argv[]) {
     }
 
     NSString *ui(@"ui/ios");
     }
 
     NSString *ui(@"ui/ios");
+    if (Firmware_ != nil)
+        ui = [ui stringByAppendingString:[NSString stringWithFormat:@"-%@", Firmware_]];
     if (Idiom_ != nil)
         ui = [ui stringByAppendingString:[NSString stringWithFormat:@"~%@", Idiom_]];
     UI_ = CydiaURL(ui);
     if (Idiom_ != nil)
         ui = [ui stringByAppendingString:[NSString stringWithFormat:@"~%@", Idiom_]];
     UI_ = CydiaURL(ui);