From 7affe45b0b564a353120884e55c903f58340c8ce Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 30 Jun 2009 18:26:24 +0000 Subject: [PATCH 1/1] Fixed a bug in Homepage:/Website: and worked around a bug in 3.0 icon caches. --- Cydia.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index 4264ef47..9e165b46 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -2048,7 +2048,7 @@ struct PackageNameOrdering : _end _profile(Package$parse$Retain) - if (!homepage_.empty()) + if (homepage_.empty()) homepage_ = website; if (homepage_ == depiction_) homepage_.clear(); @@ -4274,7 +4274,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { case 4: [close_ setTitle:UCLocalize("REBOOT_DEVICE")]; break; } -#define Cache_ "/User/Library/Caches/com.apple.mobile.installation.plist" +#define ListCache_ "/User/Library/Caches/com.apple.mobile.installation.plist" +#define IconCache_ "/User/Library/Caches/com.apple.springboard-imagecache-icons.plist" if (NSMutableDictionary *cache = [[NSMutableDictionary alloc] initWithContentsOfFile:@ Cache_]) { [cache autorelease]; -- 2.45.2