@ -112,7 +112,8 @@ class SupportedProgramsDatabase(object):
"""
agorExec=desktopEntry.get("X-NSM-Exec")
agorExec=desktopEntry.get("X-NSM-Exec")#If there is a specific executable to start from nsm, use this. If not we use the normal executable below.
ifnotagorExec:
n=pathlib.Path(desktopEntry.getExec()).name
agorExec=n.split("")[0].strip()# this will fail with special filenames, such as spaces in filenames. But it is already the fallback for programs not adhering to the nsm specs. not our problem anymore.