on master help sign in
Fix Exec= detection in nix-run.sh

Fixes #59

commite0ea9901f789134c62a1d5c4c49c25613b62e6b4 authorMatthew Bauer <mjbauer95@gmail.com> dateSat 9 May 2020, 15:28 (6 years ago) parent2a8b914
1 file changed+1−1
nix-run.sh+1−1
nix-run.sh+1−1
@@ -54,7 +54,7 @@ run_linux_desktop_app () {
5454 shift
5555
5656 cmd=$(grep '^Exec' $file | tail -1 | \
57− sed 's/Exec=//;s/^"//;s/" *$/')
57+ sed 's/Exec=//;s/^"//;s/" *$//')
5858
5959 if ! [ -z "$@" ]; then
6060 cmd=$(echo "$cmd" | sed "s/%[fu]/$1/;s/%[FU]/$@/")