mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-20 10:23:30 -04:00
Kiwix logo replaced by custom icon in the widget of custom apps
This commit is contained in:
parent
31372a740b
commit
3be2fcc81d
@ -241,6 +241,13 @@ def step_prepare_launcher_icons(jsdata, **options):
|
||||
outf=os.path.join(ANDROID_PATH, 'res',
|
||||
'mipmap-{}'.format(density),
|
||||
'kiwix_icon.png')))
|
||||
|
||||
syscall("convert {inf} -resize {p}x{p} {outf}"
|
||||
.format(inf=os.path.join(ANDROID_PATH, 'ic_launcher_512.png'),
|
||||
p=pixels,
|
||||
outf=os.path.join(ANDROID_PATH, 'res',
|
||||
'drawable-{}'.format(density),
|
||||
'ic_kiwix_widget.png')))
|
||||
|
||||
syscall("convert {inf} -resize {p}x{p} {outf}"
|
||||
.format(inf=os.path.join(ANDROID_PATH, 'ic_launcher_512.png'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user