Fix application icon not being placed in apps sub-directory in linux bundle

This commit is contained in:
Kovid Goyal 2017-11-08 17:38:34 +05:30
parent c2f008672c
commit 9bef53459f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -417,7 +417,7 @@ def package(args, for_bundle=False): # {{{
safe_makedirs(launcher_dir)
build_linux_launcher(args, launcher_dir, for_bundle)
if not isosx: # {{{ linux desktop gunk
icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256')
icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps')
safe_makedirs(icdir)
shutil.copy2('logo/kitty.png', icdir)
deskdir = os.path.join(ddir, 'share', 'applications')