From 71f84b10238c4f785da2d927932b71300d83a78d Mon Sep 17 00:00:00 2001 From: Justin Li Date: Fri, 30 Mar 2018 22:57:34 -0700 Subject: [PATCH] reduce icon set size to fit iconutil limits --- logo/make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logo/make.py b/logo/make.py index c711bdf40..7d3873565 100755 --- a/logo/make.py +++ b/logo/make.py @@ -34,7 +34,7 @@ def render(output, sz=256): iname = 'icon_{0}x{0}.png'.format(sz) iname2x = 'icon_{0}x{0}@2x.png'.format(sz // 2) render(iname, sz) - if sz > 16: + if sz > 16 and sz != 128: shutil.copy2(iname, iname2x) - if sz > 512: + if sz in (64, 1024): os.remove(iname)