Skip to content

Commit

Permalink
BUILD: appimage - append +qwurl %u to exec entry in desktop file, the…
Browse files Browse the repository at this point in the history
… uri should be passed in as first argument regardless but it would appear under some circumstances this doesn't happen
  • Loading branch information
ciscon committed Nov 22, 2023
1 parent a7c48ba commit 931504b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/appimage/appimage-manual_creation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ exitstatus=$?
if [ $exitstatus -eq 0 ];then
#fix qwurl association if set for appimage
grep -q "^Exec=/tmp/.mount_" "${HOME}/.local/share/applications/qw-url-handler.desktop" && \
sed -i "s|^Exec=.*|Exec=${APPIMAGE}|g" "${HOME}/.local/share/applications/qw-url-handler.desktop"
sed -i "s|^Exec=.*|Exec=${APPIMAGE} +qwurl %u|g" "${HOME}/.local/share/applications/qw-url-handler.desktop"
fi
exit $exitstatus
'
Expand Down

0 comments on commit 931504b

Please sign in to comment.