- LATEST=$(curl 'https://gajim.org/download/' | grep -o 'downloads/[0-9.]*/[Gg]ajim-[0-9.]*-64bit.*\.exe')
- LINK="https://gajim.org/$LATEST"
- wget "$LINK"
- SHA256=$(sha256sum $(basename $LATEST) | cut -d ' ' -f 1)
- cat > info << EOF
- url=${LINK}
- sha256sum=${SHA256}
- EOF
- echo "$(basename $LATEST) /S" > install.bat
|