mirror of https://github.com/opa334/TrollStore.git
1.5.0~b2
This commit is contained in:
parent
c6b513defc
commit
4db76d3ec5
|
@ -348,6 +348,8 @@ UIImage* imageWithSize(UIImage* image, CGSize size)
|
|||
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"ApplicationCell"];
|
||||
}
|
||||
|
||||
if(!indexPath || indexPath.row > (_cachedAppInfos.count - 1)) return cell;
|
||||
|
||||
TSAppInfo* appInfo = _cachedAppInfos[indexPath.row];
|
||||
NSString* appId = [appInfo bundleIdentifier];
|
||||
NSString* appVersion = [appInfo versionString];
|
||||
|
|
|
@ -191,6 +191,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
|
|||
{
|
||||
fetchLatestLdidVersion(^(NSString* latestVersion)
|
||||
{
|
||||
if(!latestVersion) return;
|
||||
dispatch_async(dispatch_get_main_queue(), ^
|
||||
{
|
||||
NSURL* ldidURL = [NSURL URLWithString:@"https://github.com/opa334/ldid/releases/latest/download/ldid"];
|
||||
|
@ -214,7 +215,7 @@ extern NSUserDefaults* trollStoreUserDefaults(void);
|
|||
}];
|
||||
});
|
||||
}
|
||||
else
|
||||
else if(location)
|
||||
{
|
||||
spawnRoot(rootHelperPath(), @[@"install-ldid", location.path, latestVersion], nil, nil);
|
||||
dispatch_async(dispatch_get_main_queue(), ^
|
||||
|
|
Loading…
Reference in New Issue