From 931504b22558e923ff0985b5fceb086640f2b647 Mon Sep 17 00:00:00 2001 From: ciscon Date: Wed, 22 Nov 2023 12:33:22 -0500 Subject: [PATCH] BUILD: appimage - append +qwurl %u to exec entry in desktop file, the uri should be passed in as first argument regardless but it would appear under some circumstances this doesn't happen --- misc/appimage/appimage-manual_creation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/appimage/appimage-manual_creation.sh b/misc/appimage/appimage-manual_creation.sh index 7aa8ce586..085078efe 100755 --- a/misc/appimage/appimage-manual_creation.sh +++ b/misc/appimage/appimage-manual_creation.sh @@ -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 '