bug: fix invalid values in desktop file (#1749)

The current desktop file caused an error and a hint from `desktop-file-validate` 0.28.
This commit addresses those issues:

- The "Version" field must be empty or a desktop entry specification version (e.g., 1.0, 1.5),
  not the tool's version.
- The "Categories" field should only contain one main category to avoid warnings.

ref: https://specifications.freedesktop.org/desktop-entry-spec/1.5/recognized-keys.html
This commit is contained in:
Kenichi Kamiya 2025-07-02 00:26:55 +09:00 committed by GitHub
parent 0f878c4ae2
commit d057fd141b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,10 @@
[Desktop Entry]
Name=bottom
Version=0.10.2
Version=1.5
GenericName=System Monitor
Comment=A customizable cross-platform graphical process/system monitor for the terminal.
Exec=btm
Terminal=true
Type=Application
Categories=Utility;System;ConsoleOnly;Monitor;
Categories=System;ConsoleOnly;Monitor;
StartupNotify=false