Revert renaming of kitty.dekstop to kitty-terminal.desktop

Changing the default value for application id/WM_CLASS is a no go, since
existing scripts can depend on it and I try to avoid breaking people's
workflows wherever possible. Guess xdg-mime will just have to live with
the horror of an unhyphenated file name.

Fixes #7326
This commit is contained in:
Kovid Goyal
2024-04-09 12:47:14 +05:30
parent 3d98b33076
commit 437fc0d8c2
2 changed files with 4 additions and 4 deletions

View File

@@ -1340,7 +1340,7 @@ def create_linux_bundle_gunk(ddir: str, args: Options) -> None:
shutil.copy2(f'logo/kitty.{ext}', icdir)
deskdir = os.path.join(ddir, 'share', 'applications')
safe_makedirs(deskdir)
with open(os.path.join(deskdir, 'kitty-terminal.desktop'), 'w') as f:
with open(os.path.join(deskdir, 'kitty.desktop'), 'w') as f:
f.write(
'''\
[Desktop Entry]