From 09d574972ee4a277e426210db12cca7f0dc2d309 Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Mon, 4 Dec 2023 04:41:33 +0100 Subject: [PATCH] Update gimp-dev-junest.sh In case of errors, do not allow the creation of the AppImage. --- gimp-dev-junest.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gimp-dev-junest.sh b/gimp-dev-junest.sh index 2ff6912..63d4b9d 100644 --- a/gimp-dev-junest.sh +++ b/gimp-dev-junest.sh @@ -89,22 +89,6 @@ cp -r ./.junest/usr/share/pixmaps/*$ICON* ./ 2>/dev/null # TEST IF THE DESKTOP FILE AND THE ICON ARE IN THE ROOT OF THE FUTURE APPIMAGE (./*AppDir/*) if test -f ./*.desktop; then echo "The .desktop file is available in $APP.AppDir/" -else - cat <<-HEREDOC >> "./$APP.desktop" - [Desktop Entry] - Version=1.0 - Type=Application - Name=NAME - Comment= - Exec=BINARY - Icon=tux - Categories=Utility; - Terminal=true - StartupNotify=true - HEREDOC - sed -i "s#BINARY#$BIN#g" ./$APP.desktop - sed -i "s#Name=NAME#Name=$(echo $APP | tr a-z A-Z)#g" ./$APP.desktop - wget https://raw.githubusercontent.com/Portable-Linux-Apps/Portable-Linux-Apps.github.io/main/favicon.ico -O ./tux.png fi # ...AND FINALLY CREATE THE APPRUN, IE THE MAIN SCRIPT TO RUN THE APPIMAGE!