From da1ab12d210921881a29748fc878af9ce3fb85ba Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Tue, 1 Nov 2016 15:29:34 +0900
Subject: [PATCH] appimage desktopintegration script into src/desktop

---
 .../desktop/appimage-desktopintegration                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename xdgurl.AppDir/desktopintegration => src/desktop/appimage-desktopintegration (99%)

diff --git a/xdgurl.AppDir/desktopintegration b/src/desktop/appimage-desktopintegration
similarity index 99%
rename from xdgurl.AppDir/desktopintegration
rename to src/desktop/appimage-desktopintegration
index d4de5de..bc48aea 100644
--- a/xdgurl.AppDir/desktopintegration
+++ b/src/desktop/appimage-desktopintegration
@@ -178,7 +178,7 @@ if [ -z "$SKIP" ] ; then
   # 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
   desktop-file-install --rebuild-mime-info-cache \
-    --vendor=$VENDORPREFIX --set-key=Exec --set-value="\"${APPIMAGE}\" %U" \
+    --vendor=$VENDORPREFIX --set-key=Exec --set-value="\"${APPIMAGE}\" %u" \
     --set-key=X-AppImage-Comment --set-value="Generated by ${THIS}" \
     --set-icon="$ICONFILE" --set-key=TryExec --set-value=${APPIMAGE// /\\s} "$DESKTOPFILE" \
     --dir "$DESTINATION_DIR_DESKTOP"
-- 
GitLab