Their script has a really good example of using the “proper” tools to create, validate, and install the desktop file automagically. The tools themselves are likely already installed.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments