Closed play-tarot-2 closed 6 months ago
If I understand the Desktop Entry specification correctly, you are allowed to write: Key = value, and the space after Key and before value should be ignored.
Key = value
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
However, the parser does not do that, so it will fire errors for missing Icon or Exec keys.
Yea looks like it. I need to strip any whitespace from key, value pairs coming before/after = or after value.
=
If I understand the Desktop Entry specification correctly, you are allowed to write:
Key = value
, and the space after Key and before value should be ignored.https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
However, the parser does not do that, so it will fire errors for missing Icon or Exec keys.