diff --git a/engine/findprograms.py b/engine/findprograms.py index 206d026..225f2a0 100644 --- a/engine/findprograms.py +++ b/engine/findprograms.py @@ -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. if not agorExec: 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.