Variable DesktopFile.DesktopReadOptions.extensionGroupPolicy
Set policy about extension groups. By default they are all preserved. Set it to skip if you're not willing to support any extensions in your applications. Note that all groups still need to be preserved if desktop file must be rewritten.
struct DesktopFile.DesktopReadOptions
{
// ...
DesktopFile . ExtensionGroupPolicy extensionGroupPolicy
= cast(ExtensionGroupPolicy)cast(ubyte)1u;
// ...
}