From 45e68660f984e54fc9ef2837b19674483e18a6cf Mon Sep 17 00:00:00 2001 From: Nils <> Date: Wed, 13 Apr 2022 00:20:18 +0200 Subject: [PATCH] code comment --- engine/findprograms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.