Update installgithub.sh

This commit is contained in:
bakustarver 2025-05-16 05:00:49 +03:00 committed by GitHub
parent fade320df4
commit c0229f4d6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,8 @@ itchjson=$(wget -qO- "https://api.itch.io/games/2577304/uploads?api_key=$ITCH_AP
if [ -z "$itchjson" ]; then
echo "Cannot get data from server, wrong itch.io key?"
exit 1
else
echo "$apikey" > "$ITCHIOFILEPATH"
fi
savekey "$ITCH_API_KEY"
itchdata=$(echo "$itchjson" | sed -e 's@"traits"@\n@g' | grep "$archt")