Fixed some launch issues

This commit is contained in:
Maxim 2016-05-13 22:11:09 -05:00
parent 4cd30a2618
commit ee128df5db
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ i="1"
line1=$(sed -n "${i}p" "${pth}"/menu.list);
filename="${line1%.*}"
execMethod=$(grep -A 0 -m2 "Exec=" /usr/share/applications/"$line1" | tail -n1)
execMethod=$(echo ${execMethod} | sed s/Exec=//g | sed s/%f//g)
execMethod=$(echo ${execMethod} | sed s/Exec=//g | sed s/%f//g | sed s/Try//g)
catagory=$(grep -A 0 "Categories=" /usr/share/applications/"$line1")
preComment=$(grep -A 0 "Comment=" /usr/share/applications/"$line1")
execCMD=$(echo "${filename}) ${execMethod} & shellMen ;;")