]> git.saurik.com Git - cydia.git/commitdiff
Background appcache initialization using custom URL.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 28 Feb 2011 12:50:33 +0000 (04:50 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:26 +0000 (02:41 -0800)
MobileCydia.mm

index cccb7841537269d41564df2b8d6c7cb8aa7f6af4..64c388c97f3f26657e7f3d35aa4f874dc83a7188 100644 (file)
@@ -9821,6 +9821,9 @@ _trace();
     essential_ = [[NSMutableArray alloc] initWithCapacity:4];
     broken_ = [[NSMutableArray alloc] initWithCapacity:4];
 
     essential_ = [[NSMutableArray alloc] initWithCapacity:4];
     broken_ = [[NSMutableArray alloc] initWithCapacity:4];
 
+    // XXX: I really need this thing... like, seriously... I'm sorry
+    [[[CYBrowserController alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/appcache/", UI_]]] reloadData];
+
     window_ = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
     [window_ orderFront:self];
     [window_ makeKey:self];
     window_ = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
     [window_ orderFront:self];
     [window_ makeKey:self];