chiark / gitweb /
Fix: Re-add <icon> element to index
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 7 Jan 2014 18:22:07 +0000 (19:22 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 9 Jan 2014 15:23:49 +0000 (16:23 +0100)
fdroidserver/update.py

index 698b8ac59889c960e94c475600b98563e627c292..ce976e72ad87cca6d2d3663b7a118c7977e999bf 100644 (file)
@@ -508,6 +508,9 @@ def scan_apks(apps, apkcache, repodir, knownapks):
                         empty_densities.remove(density)
                         break
 
+            if thisinfo['icons']:
+                thisinfo['icon'] = iconfilename
+
             apk.close()
 
             # First try resizing down to not lose quality