Allowed for APKs with bad names, and added Mobile C64, which is one of those

This commit is contained in:
Ciaran Gultnieks 2010-12-29 16:43:04 +00:00
parent 88be9b9fc4
commit 06cc795565
4 changed files with 23 additions and 2 deletions

View file

@ -152,11 +152,13 @@ for app in apps:
bestapk = apk
if bestver == 0:
app['name'] = app['id']
if app['name'] is None:
app['name'] = app['id']
app['icon'] = ''
print "WARNING: Application " + app['id'] + " has no packages"
else:
app['name'] = bestapk['name']
if app['name'] is None:
app['name'] = bestapk['name']
app['icon'] = bestapk['icon']
# Generate warnings for apk's with no metadata (or create skeleton