Skip to content

Commit

Permalink
Robustness fix for appimages, see #498.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmartensson committed Sep 12, 2023
1 parent e09c043 commit 3b7ef89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
# If this called with a name that does not end with AppImage,
# consider that as a command to be invoked, otherwise extract from desktop file.
case ${PROG_NAME} in
*AppImage)
*AppImage|*appimage|*APPIMAGE)
EXEC=$(grep -e '^Exec=.*' "${APP_ROOT}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1)
exec "${APP_ROOT}/usr/bin/${EXEC}" "$@"
;;
Expand Down

0 comments on commit 3b7ef89

Please sign in to comment.