mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-08 21:25:32 +02:00
Merge branch 'add-icons' of https://github.com/Artturin/kitty
This commit is contained in:
3
setup.py
3
setup.py
@@ -912,6 +912,9 @@ def create_linux_bundle_gunk(ddir: str, libdir_name: str) -> None:
|
||||
safe_makedirs(icdir)
|
||||
shutil.copy2('logo/kitty.png', icdir)
|
||||
deskdir = os.path.join(ddir, 'share', 'applications')
|
||||
icscaldir = os.path.join(ddir, 'share', 'icons', 'hicolor', 'scalable', 'apps')
|
||||
safe_makedirs(icscaldir)
|
||||
shutil.copy2('logo/kitty.svg', icscaldir)
|
||||
safe_makedirs(deskdir)
|
||||
with open(os.path.join(deskdir, 'kitty.desktop'), 'w') as f:
|
||||
f.write(
|
||||
|
||||
Reference in New Issue
Block a user