This commit is contained in:
Kovid Goyal 2021-09-02 13:05:14 +05:30
parent 7997295d4c
commit 6db46850eb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1100,7 +1100,10 @@ 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'))
try:
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'), dirs_exist_ok=True)
except TypeError: # python < 3.8
shutil.copytree('shell-integration', os.path.join(libdir, 'shell-integration'))
allowed_extensions = frozenset('py glsl so'.split())
def src_ignore(parent: str, entries: Iterable[str]) -> List[str]: