From d83e3fddb0aeebc862ee602754abc0a408ea6b65 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 12 Jan 2018 00:52:10 +0900 Subject: [PATCH 1/2] Add install 'optipng' description because logo/make.py depends 'optipng' --- README.asciidoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.asciidoc b/README.asciidoc index 6e4c38183..f36d2bae9 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -431,7 +431,12 @@ the approach using ligatures. === How do I build kitty.app on macOS? -Run: +At first, install `optipng` command via: +``` +brew install optipng +``` + +And run: ``` logo/make.py ./setup.py kitty.app From eb93cd4048f8c1e7bd9feb30d7c53171224ab01b Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 12 Jan 2018 00:58:15 +0900 Subject: [PATCH 2/2] Add missing 64 size because doesn't create icon_32x32@2x.png --- logo/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logo/make.py b/logo/make.py index 0e581df1e..9c09ba232 100755 --- a/logo/make.py +++ b/logo/make.py @@ -23,7 +23,7 @@ if os.path.exists(iconset): shutil.rmtree(iconset) os.mkdir(iconset) os.chdir(iconset) -for sz in (16, 32, 128, 256, 512, 1024): +for sz in (16, 32, 64, 128, 256, 512, 1024): iname = 'icon_{0}x{0}.png'.format(sz) iname2x = 'icon_{0}x{0}@2x.png'.format(sz // 2) render(iname, sz)