From eff20a8d78a0d0fd1865ab8cb6eeba7ac03edd12 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 6 Mar 2011 00:52:02 -0800 Subject: You can't use icon on an unparsed package. --- MobileCydia.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index d253aa8..43fc9e3 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6957,6 +6957,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { Package *package([database packageWithName:path]); if (package == nil) goto fail; + [package parse]; UIImage *icon([package icon]); [self _returnPNGWithImage:icon forRequest:request]; } else if ([command isEqualToString:@"source-icon"]) { -- cgit v1.2.3