Add shell integration scripts to kitty package

This commit is contained in:
Kovid Goyal 2021-07-15 09:18:39 +05:30
parent b581408137
commit bffe7aba8f
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 5 additions and 1 deletions

View file

@ -1099,6 +1099,7 @@ def package(args: Options, bundle_type: str) -> None:
shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))
shutil.copy2('logo/beam-cursor.png', os.path.join(libdir, 'logo'))
shutil.copy2('logo/beam-cursor@2x.png', os.path.join(libdir, 'logo'))
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'), dirs_exist_ok=True)
allowed_extensions = frozenset('py glsl so'.split())
def src_ignore(parent: str, entries: Iterable[str]) -> List[str]: