pub fn parse_desktop_file(content: &str) -> Option<AppEntry>Expand description
Parse a freedesktop .desktop file and extract an AppEntry.
Supports the [Desktop Entry] section and the following keys:
Name=– application nameExec=– executable path (first token only,%f/%u/%F/%Ustripped)Icon=– icon nameComment=– short descriptionCategories=– semicolon-separated category list (first recognized category is used)
Returns None if Name or Exec is missing.