20 lines
699 B
Diff
20 lines
699 B
Diff
|
--- a/setup.py
|
||
|
+++ b/setup.py
|
||
|
@@ -744,9 +744,15 @@ Categories=System;TerminalEmulator;
|
||
|
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',
|
||
|
+ 'png2icns',
|
||
|
os.path.join('Resources', os.path.basename(logo_dir).partition('.')[0] + '.icns')
|
||
|
- ])
|
||
|
+ ] + [os.path.join(logo_dir, logo) for logo in (
|
||
|
+ 'icon_128x128.png',
|
||
|
+ 'icon_16x16.png',
|
||
|
+ 'icon_256x256.png',
|
||
|
+ 'icon_32x32.png',
|
||
|
+ 'icon_512x512.png',
|
||
|
+ )])
|
||
|
# }}}
|
||
|
# }}}
|