Set window icon on linux

This commit is contained in:
Kovid Goyal
2017-01-18 20:52:06 +05:30
parent ed77692a87
commit df5c225b5a
6 changed files with 20 additions and 2 deletions

View File

@@ -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')]