From e459f8916afafd9f245b7b433135906b786a6399 Mon Sep 17 00:00:00 2001 From: develar Date: Thu, 19 Apr 2018 08:52:31 +0200 Subject: [PATCH] fix(AppImage): do not print debug info about installed AppImage on run Close #2807 --- packages/electron-builder-lib/templates/linux/AppRun.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/electron-builder-lib/templates/linux/AppRun.sh b/packages/electron-builder-lib/templates/linux/AppRun.sh index 9e61a636d88..9bf5fbc701e 100755 --- a/packages/electron-builder-lib/templates/linux/AppRun.sh +++ b/packages/electron-builder-lib/templates/linux/AppRun.sh @@ -142,12 +142,11 @@ else SYSTEM_WIDE="--mode system" fi -# Check if the desktop file is already there -# and if so, whether it points to the same AppImage +# check if the desktop file is already there and if so, whether it points to the same AppImage if [ -e "$DESTINATION_DIR_DESKTOP/$VENDORPREFIX-<%= desktopFileName %>" ] ; then INSTALLED_APP_VERSION=$(grep "^X-AppImage-BuildId=" "$DESTINATION_DIR_DESKTOP/$VENDORPREFIX-<%= desktopFileName %>" | head -n 1 | cut -d " " -f 1) APP_VERSION=$(grep "^X-AppImage-BuildId=" "$DESKTOP_FILE" | head -n 1 | cut -d " " -f 1) - echo "installed: $INSTALLED_APP_VERSION image: $APP_VERSION" + #echo "installed: $INSTALLED_APP_VERSION image: $APP_VERSION" if [ "$INSTALLED_APP_VERSION" == "$APP_VERSION" ] ; then exit 0 fi