mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Set window icon on linux
This commit is contained in:
2
setup.py
2
setup.py
@@ -219,10 +219,12 @@ def package(args): # {{{
|
||||
if os.path.exists(libdir):
|
||||
shutil.rmtree(libdir)
|
||||
os.makedirs(os.path.join(libdir, 'terminfo/x'))
|
||||
os.makedirs(os.path.join(libdir, 'logo'))
|
||||
safe_makedirs(terminfo_dir)
|
||||
shutil.copy2('__main__.py', libdir)
|
||||
shutil.copy2('terminfo/x/xterm-kitty', terminfo_dir)
|
||||
shutil.copy2('terminfo/x/xterm-kitty', os.path.join(libdir, 'terminfo/x'))
|
||||
shutil.copy2('logo/kitty.rgba', os.path.join(libdir, 'logo'))
|
||||
|
||||
def src_ignore(parent, entries):
|
||||
return [x for x in entries if '.' in x and x.rpartition('.')[2] not in ('py', 'so', 'conf')]
|
||||
|
||||
Reference in New Issue
Block a user