Include all terminfo variants in binary bundles

Needed so that they can be transmitted over ssh easily
This commit is contained in:
Kovid Goyal
2022-02-24 00:53:54 +05:30
parent 22c1ee7dc8
commit 6b681df473
2 changed files with 9 additions and 2 deletions

View File

@@ -1256,7 +1256,7 @@ def package(args: Options, bundle_type: str) -> None:
for x in (libdir, os.path.join(ddir, 'share')):
odir = os.path.join(x, 'terminfo')
safe_makedirs(odir)
build_terminfo['compile_terminfo'](odir)
build_terminfo['compile_terminfo'](odir, add_other_versions=True)
shutil.copy2('__main__.py', libdir)
shutil.copy2('logo/kitty-128.png', os.path.join(libdir, 'logo'))
shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))