- LATEST=$(curl https://www.gimp.org/downloads/ | grep -o 'mirror/pub/gimp/v[0-9.]*/windows/gimp-[0-9.]*-setup-*[0-9]*.exe' | sed '/torrent/d' | head -n1)
- LINK="https://download.gimp.org/$LATEST"
- wget -c "$LINK"
- SHA256=$(sha256sum $(basename $LATEST) | cut -d ' ' -f 1)
- cat > info << EOF
- url=${LINK}
- sha256sum=${SHA256}
- EOF
- echo "$(basename $LATEST) /silent /tasks=desktopicon" > install.bat
|