Not sure if you want a review from me but I'll comment anyway :-) This looks fine to me.
This isn't the first time something like this has happened (renamed .desktop files) I wonder (out loud) if it is worth changing this so that it is programatically populated at run time and checks the existence of a couple of known .desktop files and uses the correct one.
Although, this happens infrequently enough that I'm not sure it's worth doing that work.
Not sure if you want a review from me but I'll comment anyway :-) This looks fine to me.
This isn't the first time something like this has happened (renamed .desktop files) I wonder (out loud) if it is worth changing this so that it is programatically populated at run time and checks the existence of a couple of known .desktop files and uses the correct one.
Although, this happens infrequently enough that I'm not sure it's worth doing that work.