Skip to content

Commit

Permalink
Update gimp-dev-junest.sh
Browse files Browse the repository at this point in the history
In case of errors, do not allow the creation of the AppImage.
  • Loading branch information
ivan-hc authored Dec 4, 2023
1 parent b341895 commit 09d5749
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions gimp-dev-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 09d5749

Please sign in to comment.