Skip to content

Commit

Permalink
Escape character
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Nov 6, 2017
1 parent 5a5779f commit d5102de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktopintegration
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ if [ -z "$SKIP" ] ; then
# For Exec we must use quotes
# For TryExec quotes is not supported, so, space must be replaced to \s
# https://askubuntu.com/questions/175404/how-to-add-space-to-exec-path-in-a-thumbnailer-descrption/175567
RESOURCE_NAME=$(echo "$VENDORPREFIX-$DESKTOPFILE_NAME" | sed -e 's/.desktop//g')
RESOURCE_NAME=$(echo "$VENDORPREFIX-$DESKTOPFILE_NAME" | sed -e 's/\.desktop//g')
desktop-file-install --rebuild-mime-info-cache \
--vendor=$VENDORPREFIX --set-key=Exec --set-value="\"${APPIMAGE}\" %U" \
--set-key=X-AppImage-Comment --set-value="Generated by ${THIS}" \
Expand Down

0 comments on commit d5102de

Please sign in to comment.