Add the generated macOS icons to git

Removes the need for optipng/librsvg when building kitty.
This commit is contained in:
Kovid Goyal
2019-06-28 13:48:09 +05:30
parent a56475e32f
commit 6f8214c15c
15 changed files with 1 additions and 9 deletions

View File

@@ -749,8 +749,6 @@ def macos_info_plist():
def create_macos_app_icon(where='Resources'):
logo_dir = os.path.abspath(os.path.join('logo', appname + '.iconset'))
if not os.path.exists(logo_dir):
raise SystemExit('The kitty logo has not been generated, you need to run logo/make.py')
subprocess.check_call([
'iconutil', '-c', 'icns', logo_dir, '-o',
os.path.join(where, os.path.basename(logo_dir).partition('.')[0] + '.icns')