From 98fead660ba316e541f2e128d8f9c5427b325935 Mon Sep 17 00:00:00 2001
From: probonopd <probonopd@users.noreply.github.com>
Date: Sun, 30 Oct 2016 18:33:27 +0100
Subject: [PATCH] Update desktopintegration

---
 xdgurl.AppDir/desktopintegration | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/xdgurl.AppDir/desktopintegration b/xdgurl.AppDir/desktopintegration
index 0f9ba87..d4de5de 100644
--- a/xdgurl.AppDir/desktopintegration
+++ b/xdgurl.AppDir/desktopintegration
@@ -129,17 +129,8 @@ if [ -z "$APPIMAGE" ] ; then
   # Not running from within an AppImage; hence using the AppRun for Exec=
 fi
 
-# Construct path to the icon according to
-# http://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html
 ABS_APPIMAGE=$(readlink -e "$APPIMAGE")
-ICONURL="file://$ABS_APPIMAGE"
-MD5=$(echo -n $ICONURL | md5sum | cut -c -32)
-ICONFILE="$HOME/.cache/thumbnails/normal/$MD5.png"
-if [ ! -f "$ICONFILE" ] ; then
-  echo "$ICONFILE is missing. Probably not running ${THIS} from within an AppImage."
-  echo "Hence falling back to using .DirIcon"
-  ICONFILE="$APPDIR/.DirIcon"
-fi
+ICONFILE="$APPDIR/.DirIcon"
 
 # $XDG_DATA_DIRS contains the default paths /usr/local/share:/usr/share
 # desktop file has to be installed in an applications subdirectory
-- 
GitLab