From: Jay Freeman (saurik) Date: Sun, 6 Mar 2011 08:52:02 +0000 (-0800) Subject: You can't use icon on an unparsed package. X-Git-Tag: v1.1.0%b1~47 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/eff20a8d78a0d0fd1865ab8cb6eeba7ac03edd12 You can't use icon on an unparsed package. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index d253aa8b..43fc9e36 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"]) {